Formulas that compare and sum between worksheets

P

Pat

I need a formula to look at column AF to compare the date, then look at
column N for the work "rejected" then sum the total rejected's between 3
spreadsheets, and enter the output on sheet 5. I have one formula so far, but
can't seem to figure how to add the comparison for the date
=COUNTIF(Projects!N:N,"REJECTED")+COUNTIF(AR!N:N,"REJECTED")+COUNTIF(Legal!N:N,"REJECTED")
 
P

Pat

The date is on all sheets, just ion different columns.
Projects -date in column AA
AR- -date in column AA
Legal -date in column AB
I want to look at those columns, compare the numeric month and then look in
column N for the word rejected, total/sum the number based on the numeric
month.
 
E

Eduardo

OK try this

=SUMPRODUCT(--(MONTH(projects!A:A)=B1),--(Projects!N:N,"REJECTED))+SUMPRODUCT(--(MONTH(AR!A:A)=B1),--(AR!N:N,"REJECTED))+SUMPRODUCT(--(MONTH(Legal!A:A)=B1),--(Legal!N:N,"REJECTED))

in a summary sheet enter the month numbers from 1 to 12 starting in B1, you
copy the above formula there and then copy it down
 
E

Eduardo

Hi Pat,
it could be a separate sheet or you can use one of your actual sheets and
enter the month numbers where you would like to see the information
 

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

Top