View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default in need of a formula

Enter this formula on Sheet2 C1:

=IF(COUNTIF(Sheet1!A:A,A1),SUMIF(Sheet1!A:A,A1,She et1!B:B),"no work")

Copy down to C365

--
Biff
Microsoft Excel MVP


"Bowmanator" wrote in message
...
hi, i'm working on two sheets within the same book.

sheet 1
A B
1/3/09 1000
1/4/09 500
1/6/09 100

as you can see on sheet 1 the dates can be days apart.

on sheet 2. column A has 365 rows indicating every day of the year,
starting with A1 being 1/1/09 and ending with A365 being 12/31/09
column C1 thru C365 has the words no work

i want sheet 2 to look like this

A C
1/1/09 no work
1/2/09 no work
1/3/09 1000
1/4/09 500
1/5/09 no work
1/6/09 100

so is there any way to get the date entered in A1 on sheet 1 to find the
same date on sheet 2 A1 and enter the amount from B1 sheet1 into C1 sheet
2?
and if there is no match on sheet 2, i need column C to show no work.

thanks