+ Reply to Thread
Results 1 to 12 of 12

Sorting Question

  1. #1
    Registered User
    Join Date
    04-19-2007
    Posts
    6

    Sorting Question

    ..A......B.......C..........D...........E...........F.........G..........H.......I.........J
    REQ# PO# Book VENDOR CHARGE CONTACT DESC VEHICLE DATE PRICE


    I setup a spreadsheet to track requisitions. The cell range is from A to J.

    If I try sorting cell E in ascending order so I can group requisition by departments... the sort doesn’t work equally across the rows. It seems to change the requisition number (cell A) with the improper sort.

    How can I sort a particular cell and have it work maintaining holding together the cell information across the entire row of cells?

    Hope I’ve made myself clear
    Thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try selecting the entire range first, from A1 to J(whatever the last is).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-19-2007
    Posts
    6

    Tried that

    Quote Originally Posted by NBVC
    Try selecting the entire range first, from A1 to J(whatever the last is).
    and it still messes up. The odd thing is... it seems just Cell A (requisition Numbers) is having the problem.

    When I do the Data/Sort/Column E - Ascending = problems with Cell A

    When I highlight the entire range and then Data/Sort/Column E - Ascending = problems with Cell A

    In both cases, after sorting, Cell A shows the worng Requisition Number

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Are you sure your "Requisition Number" is formatted to Number or General and not formatted Text
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by bchappetta
    and it still messes up. The odd thing is... it seems just Cell A (requisition Numbers) is having the problem.

    When I do the Data/Sort/Column E - Ascending = problems with Cell A

    When I highlight the entire range and then Data/Sort/Column E - Ascending = problems with Cell A

    In both cases, after sorting, Cell A shows the worng Requisition Number
    If you want to attach a zip of your sheet, I can take a look....seems odd.

  6. #6
    Registered User
    Join Date
    04-19-2007
    Posts
    6
    Quote Originally Posted by oldchippy
    Are you sure your "Requisition Number" is formatted to Number or General and not formatted Text
    Yup, formatted to General.

  7. #7
    Registered User
    Join Date
    04-19-2007
    Posts
    6
    Quote Originally Posted by NBVC
    If you want to attach a zip of your sheet, I can take a look....seems odd.
    See attached Zip file of spreadsheet
    Last edited by bchappetta; 04-25-2007 at 08:34 AM.

  8. #8
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    See attached. Is it right?

    You have to select entire range from A3:H218 and declare that Row 1 is a Header Row.

    If you just click Sort in any cell, Excel want to include rows 1 and 2....
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-19-2007
    Posts
    6

    I think I know what happened

    I use the formula =A1+1 and filled down using that to generate the Requisition books numbers. When I do a sort that formula is still there calculates just as its intended to but since it now points to a different number... it generated a different number.

    I guess i can't use that to fill in numbers in sequence any longer, or is there a way around that?

    Thanks

  10. #10
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I didn't see any formulas in the sheet you sent

    You will have to copy and paste special|Values over the original if you want you numbers to stick to the rows they were originally part of.

  11. #11
    Registered User
    Join Date
    04-19-2007
    Posts
    6
    Quote Originally Posted by NBVC
    I didn't see any formulas in the sheet you sent

    You will have to copy and paste special|Values over the original if you want you numbers to stick to the rows they were originally part of.
    Thanks for your help. All is well now.

    Thanks again

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Great to hear!

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1