+ Reply to Thread
Results 1 to 14 of 14

Excel 2007 : Need help with Formula

  1. #1
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Need help with Formula

    =IFERROR(INDEX('[March 2012 - Transfer loads.xlsx]FP CUT - Apples '!$A$3:$A$2000,SMALL(IF('[March 2012 - Transfer loads.xlsx]FP CUT - Apples '!$O$3:$O$2000=27,ROW('[March 2012 - Transfer loads.xlsx]FP CUT - Apples '!$A$3:$A$2000)-ROW('[March 2012 - Transfer loads.xlsx]FP CUT - Apples '!$A$3)+1),ROWS($AQ$5:$AQ41))),"")

    This is the formula I am I using which is good, it takes these receiver numbers depending on what room number I put in 03 thru o2000 and sorts all the receiver # that are in room 27 and puts them in a column for me so all of the receivers are sorted by what room they are in.

    I need it to sort even more, When it sorts it by room # that is good but then there are 3 different varieties in that room, I would like it to sort by rooom number and then sort them by variety in that room.

    example: receiver 1, 2, 3 are Romes and receiver 4, 5, 6 are Empire but they are all in room 27. I would like it to put 1, 2, 3 in Column A and 4, 5, 6 in column B but they are still under the header of room 27.


    I can get a workbook if that will help out. let me know
    Last edited by srgtennis; 03-21-2012 at 08:46 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Need help with array formula sorting

    Wow, it's time to move into the macro world. It makes things much cleaner, more efficient and easier to understand.

  3. #3
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    Don't know how to use macros

  4. #4
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    anyone have any ideas?

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Need help with array formula sorting

    Upload example workbook.
    Make sure to remove private data.

  6. #6
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    Here is a sample workbook
    Attached Files Attached Files

  7. #7
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Need help with array formula sorting

    One relatively simple way to do it would be to concatenate the type of apple and the room in a cell just to the right in March. You could even hide this column. Then simply change your lookup to go from "20" to "Empire20" in the next cell over.
    Life is about perseverance. Remember: today's mighty oak tree is just yesterday's nut that held its ground.

    If you like a post, please rate it with the scales icon (top right).
    If you feel really indebted, please consider a donation to charity, such as Feed the Children or Habitat for Humanity.

  8. #8
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    that doesn't seem to work but I don't know why
    thanks for the suggestion.

  9. #9
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Need help with array formula sorting

    Seems to work for me.
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    I just got it, I had to put "" around it. but then I will have to type that in a column and manually type that too, or how can I get it to be empire20 by itself?

  11. #11
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Need help with array formula sorting

    I'm not sure I understand your question. In March, column S concatenates apple type and room, so all you have to do is change it for each room and type in the second sheet. If you want it more automatic, you can replace "Empire20" with
    Please Login or Register  to view this content.
    with no quotations around it.

  12. #12
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    thanks for the help can't get it yet but I will keep trying with what you did.

  13. #13
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with array formula sorting

    anybody have any other ideas?

  14. #14
    Forum Contributor
    Join Date
    02-02-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2007
    Posts
    249

    Re: Need help with Formula

    I need the first formula to be able to seperate by room and then variety? Anyone help

+ 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