If Statement Help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a workbook that contains several accounts on individual sheets and a sheet that contains a summary of the entire workbook. What I am having problems with is creating a formula that will match the dates on the summary page vs. the dates on each individual accounts, and then when it finds a match (i.e. 12/1/03 = 12/1/03) it will copy a value for that match (i.e if 12/1/03 on the summary sheet = 12/1/03 on the individual sheet, then the blank cell will = a value from the individual account for that date).

If the dates don't match (if 12/31/03 doesn't match c1 from the individual account), I want it to continue searching until it finds a match and copy the value listed for that date (have the formula look at c2, c3, ... on the sub sheet)

I tried a nested if statement, but I found that very confusing to setup.

Any help would be great! Thanks

Steve
 
Hi Steve
not quite sure but maybe VLOOKUP is what you're looking for: e.g.
if A1 stores the date on your summary page try
=VLOOKUP(A1,'account_sheet'!$A$1:$B$1000,2,0)
gets the value from column B for the date specified in A1
 
Thanks! I'll give it a try. :

----- Frank Kabel wrote: ----

Hi Stev
not quite sure but maybe VLOOKUP is what you're looking for: e.g
if A1 stores the date on your summary page tr
=VLOOKUP(A1,'account_sheet'!$A$1:$B$1000,2,0
gets the value from column B for the date specified in A

-
Regard
Frank Kabe
Frankfurt, German

Steve wrote
 
Back
Top