Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Vlookup
Hi, I'm looking to do a vlookup in a sales report that includes subtotals. The formula i have come up with thus far is the following: =VLOOKUP("1822 Total",'[Period 6 sales by SKU.xls]MFGRP-34_MFR-43152_20050522-200'!$B$29:$I$5643,8,FALSE). The only problem with this formula is that I have to mannually change the "____ Total" part for each corresponding store. Thus I have to input "122 Total" for store 122 in the worksheet and so on. The 122 portion of the part in quotations is foudn in another cell on the workseet so I was hoping to program the formula to pick up the store number automatically from the cell somethign along the lines of =VLOOKUP(B4+" Total",'[Period 6 sales by SKU.xls]MFGRP-34_MFR-43152_20050522-200'!$B$29:$I$5643,8,FALSE). Can you please tell me if this is possible and offer any suggestions. Thank you. -- akaramarkovic ------------------------------------------------------------------------ akaramarkovic's Profile: http://www.excelforum.com/member.php...o&userid=24801 View this thread: http://www.excelforum.com/showthread...hreadid=383584 |
#2
|
|||
|
|||
You were VERY close: =VLOOKUP(B4+" Total",'[Period 6 sales by SKU.xls]MFGRP-34_MFR-43152_20050522-200'!$B$29:$I$5643,8,FALSE). Should be: =VLOOKUP(B4&" Total",'[Period 6 sales by SKU.xls]MFGRP-34_MFR-43152_20050522-200'!$B$29:$I$5643,8,FALSE). Reason: The + sign is an arithmetic operator The & sign is a text concatenator Example: ="any"&"thing" evaluates to "anything" while ="any"+"thing" evaluate to #value Does that help? Ron -- Ron Coderre ------------------------------------------------------------------------ Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419 View this thread: http://www.excelforum.com/showthread...hreadid=383584 |
#4
|
|||
|
|||
Ron, You helped me score some major brownie points with my boss!!! Best regards, Aleks Karamarkovic -- akaramarkovic ------------------------------------------------------------------------ akaramarkovic's Profile: http://www.excelforum.com/member.php...o&userid=24801 View this thread: http://www.excelforum.com/showthread...hreadid=383584 |
#5
|
|||
|
|||
You were mostly there, already. I'm glad I could help. Regards, Ron -- Ron Coderre ------------------------------------------------------------------------ Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419 View this thread: http://www.excelforum.com/showthread...hreadid=383584 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Have Vlookup return a Value of 0 instead of #N/A | Excel Worksheet Functions | |||
Array Function with VLOOKUP | Excel Worksheet Functions | |||
make a vlookup using a variable path | Excel Worksheet Functions | |||
vlookup data hidden within worksheet | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |