formula help PLEASE

N

Norm

I have to pull data from one sheet to another depending on the date entered
on the first sheet
I want to enter todays date in C3 of sheet 1
I want the data in the second sheet from the row with the same date
Sheet 1:

REPORT DATE 4/11/2010

Genesis KPI's UOM
OUTBOUND DATA DATA
RECEIVING

Sheet 2

11-Apr 1 9 0 6
12-Apr

Is this a VLOOKUP?
Thnaks
 
J

JLatham

It sounds to me like a VLOOKUP will do the job for you: Assuming that your
list on Sheet2 starts at A2, something like this:
=VLOOKUP($C$3,'Sheet2!$A$2:$E$100,2,False)
should work. The ",2," in that formula would return values from column B,
",3," would return values from the 3rd column of the table (column C), etc.

Just be sure that C3 and the dates in Sheet2 are of the same data type:
either real dates or text entries.

To guard against #N/A errors being displayed when the date you enter in C3
does not match any entry on Sheet2, wrap the formula this way:

=IF(ISNA(VLOOKUP($C$3,'Sheet2!$A$2:$E$100,2,False)),"",VLOOKUP($C$3,'Sheet2!$A$2:$E$100,2,False))

(all on one line in Excel, of course).
 
N

Norm

JLatham,
This looks like it is exactly what I need
I just have to adjust to the 13 sheets in this report
Thanks You for your help
 
N

Norm

When I try to go across it works for 1, 2, 3, for colums A,B,C
I get a #REF in the cell
Am I changing something wrong
I have to go to column "T"
 
J

JLatham

Check out Excel's Help for VLOOKUP() for specifics, but basically you need
to change the table address, the 'Sheet2'!$A$2:$E$100 address in the previous
formula (and I just noticed I left the second ' out of that, sorry).

Change it to reference your entire table range. Then adjust the column
number in it to pick up the proper column in that table. Assuming your table
goes from A2 to T100, with dates in A and you want to get information from
column T, then:
=VLOOKUP($C$4,'Sheet2'!$A$2:$T$100,20,False)
should do it for you.

If your dates were in column B on the 2nd sheet, then
=VLOOKUP($C$4,'Sheet2'!$B$2:$T$100,19,False)
 
F

Fred Smith

When I try to go across it works for 1, 2, 3, for colums A,B,C
Sounds good
I get a #REF in the cell Which cell?
Am I changing something wrong
Probably. Can't know for sure without seeing the formula
I have to go to column "T"
Should be no problem.

Regards,
Fred
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

formula help PLEASE PT 2 5
formula help 2
Need help for getting output 2
Need help 3
copy formula 3
Help with Average Formula 4
LOOKUP function between two dates in Excel 2007 6
LOOKUP within a 1

Top