View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Bowmanator Bowmanator is offline
external usenet poster
 
Posts: 29
Default in need of a formula

neither one of those formulas seam to do what i want, so i added the acual
sheets i'm working on. http://www.savefile.com/files/2073433

sheet 1 i was refering to is the production tab and sheet 2 is the shelf
life tab

so if date is entered in column D on production sheet it'll find it's
matching date in column F on shelf life sheet, if true it'll add amount
produced in column H in shelf life sheet on the same row as the matching
date, if no date from column F is used in column D on production sheet it
should say no production.



"T. Valko" wrote:

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