Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2016, 06:53 AM
Lluewhyn Lluewhyn is offline Sort items in a list into various customers for a report Windows 7 32bit Sort items in a list into various customers for a report Office 2016
Novice
Sort items in a list into various customers for a report
 
Join Date: Apr 2016
Posts: 10
Lluewhyn is on a distinguished road
Default Sort items in a list into various customers for a report


Xor, this formula looks like exactly what I'm needing for a project of mine. Can you please explain how it works?

I tried replacing the names with the actual array, but that seems to break the formula. For example, I replaced "d" with Services!$B$2:$B$221, and now the formula is only working for the very first example Alawa Preschool. Maybe you can shed some light on why this isn't working past the first match, even though the "d" name is only referencing the services B2 to B221.

What I'm needing is to be able to sort items in a list into various customers for a report. Right now we currently have four customers, which each have their own tabs for a report that I send them daily. So, if a list of "sales" for the day can come from any of these customers, I'm needing a formula that will only grab sales for a specific customer, and then I'd modify that customer on each tab. Something automatic instead of trying to use a filtered pivot table, which can get messy.

I'd rather learn the logic behind what is happening so I can use it for other problems as well. I just recently learned the trick of combining Index and Match for a more flexible alternative to VLookup, which looks similar to what you're doing here. I've not used the SMALL, ROW, CELL, or ROWS formulas you're using here, so would appreciate a brief tutorial of how everything is working together.

Edit mod : this post refers to https://www.msofficeforums.com/excel...t-only-if.html
Reply With Quote
  #2  
Old 10-19-2016, 08:04 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Sort items in a list into various customers for a report Windows 7 64bit Sort items in a list into various customers for a report Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi
please do not hijack an existing thread. Create a new one referring to an existing one if necessary (I did it for you this time)
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 10-19-2016, 10:40 AM
xor xor is offline Sort items in a list into various customers for a report Windows 10 Sort items in a list into various customers for a report Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See explanation in the file.
Attached Files
File Type: xlsx Explain_bex_77.xlsx (28.2 KB, 7 views)
Reply With Quote
  #4  
Old 10-19-2016, 02:57 PM
Lluewhyn Lluewhyn is offline Sort items in a list into various customers for a report Windows 7 32bit Sort items in a list into various customers for a report Office 2016
Novice
Sort items in a list into various customers for a report
 
Join Date: Apr 2016
Posts: 10
Lluewhyn is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Hi
please do not hijack an existing thread. Create a new one referring to an existing one if necessary (I did it for you this time)
Sorry, used to other forums where asking questions about a similar subject as other posters gets heated redirects to the original question. I guess I'm getting a heated reply telling me to create a new thread.
Reply With Quote
  #5  
Old 10-21-2016, 05:52 AM
xor xor is offline Sort items in a list into various customers for a report Windows 10 Sort items in a list into various customers for a report Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

What about a tiny response Lluewhyn?

I actually used quite some time trying to help you with something you yourself asked for help to!
Reply With Quote
  #6  
Old 10-21-2016, 05:56 AM
Lluewhyn Lluewhyn is offline Sort items in a list into various customers for a report Windows 7 32bit Sort items in a list into various customers for a report Office 2016
Novice
Sort items in a list into various customers for a report
 
Join Date: Apr 2016
Posts: 10
Lluewhyn is on a distinguished road
Default

Sorry, I was off of work yesterday, and read your response late on Wednesday. You're making me feel really guilty by the length of your response, but I very much appreciate the work you put into explaining the logic. I typed out my reply right before leaving work, and realized later I never properly thanked you for your time and effort.

I imagine today will be slow enough for me to delve fully into the spreadsheet to pick apart the various formulas and how they work together. Hopefully, I'll be able to do that along with your descriptions so I can figure this out on my own without bothering you any more.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sort items in a list into various customers for a report List of 30 items with Logos, transition the 30 items blexann PowerPoint 1 11-03-2016 08:55 AM
Sort items in a list into various customers for a report VBA to automatically sort items based on Mail Merge field taylorblu Word VBA 3 09-08-2014 09:52 AM
Sort items in a list into various customers for a report When I sort my data, the sumif report changes amaka Excel 6 03-19-2014 04:55 AM
Sort items in a list into various customers for a report Prepare report/list of all highlighted items nrschmid Word 1 10-05-2011 06:26 PM
Outlook 2007 Saved sent items list only holds the last ten items david.peake Outlook 0 06-01-2010 07:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:14 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft