Excel lookup from different Columns (Ex 2003)

stagnut

New Member
Joined
Sep 27, 2007
Messages
24
Hi Guys,
Hopefully someone can assist.
I have a weekly spreadsheet (on left) that is currently filled in by hand on a daily basis. No problems except time consumimg. The downloaded report is a daily one where the info comes from(on Right) can sometimes include all Report Groups, or as shown, not always.
Normally get by as a novice, by checking how others do the different lookups, but I am stumped by this one. I have tried different Vlookups and some Index Match that I know, but because the downloaded report doesn't always include all the Report Groups, I keep getting the wrong answers.
Many thanks for looking,


Excel 2003
ABCDEFGHIJKL
1
2
3Weekly SpreadsheetMondayTuesdayETC.Daily System Report
4Report GroupSkuHoursPerfHoursReport GroupSkuHours
5A1A1
6ONE8228ONE8228
7TWOFOUR583
8THREESubtotal:A18031
9FOUR583A2
10Subtotal:A18031ONE6650
11A2TWO1251
12ONE6650FOUR499
13TWO1251Subtotal:A26560
14THREEA3
15FOUR499ONE7866
16Subtotal:A26560FOUR610
17A3Subtotal:A37866
18ONEA4
19TWOONE78119
20THREETHREE694
21FOURFOUR518
22Subtotal:A3Subtotal:A476131
23A4A5
24ONETWO6838
25TWOTHREE1810
26THREEFOUR782
27FOURSubtotal:A56840
28Subtotal:A4A6
29A5TWO8343
30ONEFOUR493
31TWOSubtotal:A68145
32THREE
33FOUR
34Subtotal:A5
35A6
36ONE
37TWO
38THREE
39FOUR
40Subtotal:A6
Sheet1
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
If you are using Excel 2003 you will have to modify that formula a little bit cause Excel 2003 doesn't support IFERROR function. Try this:

Rich (BB code):
=IF(ISERROR(VLOOKUP($B4,INDIRECT("J"&MATCH($A$3,$I:$I,0)&":L"&MATCH($A$3,$J:$J,0)),COLUMN(C4)-1,0)),"",VLOOKUP($B4,INDIRECT("J"&MATCH($A$3,$I:$I,0)&":L"&MATCH($A$3,$J:$J,0)),COLUMN(C4)-1,0))

I bolded the additional parts of formula ;)
 
Upvote 0
Hi fibonacci1101
Many thanks, it all works ok using Excel 2003. However I have problem splitting the two into different worksheets.
The report on the Right, is system generated and is saved on another worksheet from column A. I have changed the formulas to take that into acound, but the "J" and the ":L" do not like being changed to "B" and ":D to feed from the other worksheet. I have cut from "I" and then pasted into another Worksheet from "A"but although the rest of the formula picks up the change the the "J" and the ":L" stay the same. Any ideas would be very much appreciated. Thanks again.
 
Upvote 0
Hi, thanks for the update and apologies for not replying sooner. You have excactly the same as me, but the formulas still contain "J" & ":L", which do not pick up from the daily report. Also, the updated formula includes "sheet2" which is now "Daily System Report. I still get nothing when I change them to include "Daily System Report". Thanks for your help so far.
 
Upvote 0
Hi I have managed to change the formula's so that they now appear to work ok.
C4 in the https://app.box.com/s/npnhr3ey4n0xfvo5wkps I now have

=IF(ISERROR(VLOOKUP($B4,INDIRECT("'Daily System Report'!B"&MATCH($A$3,'Daily System Report'!$A:$A,0)&":D"&MATCH($A$3,'Daily System Report'!$B:$B,0)),COLUMN(C4)-1,0)),"",VLOOKUP($B4,INDIRECT("'Daily System Report'!B"&MATCH($A$3,'Daily System Report'!$A:$A,0)&":D"&MATCH($A$3,'Daily System Report'!$B:$B,0)),COLUMN(C4)-1,0))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,563
Messages
6,125,572
Members
449,237
Latest member
Chase S

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top