need help with formula

P

PJEAN

I am trying to accomplish the following;

If the dates 1 and 2 match or date 2 is earlier than date 1 add 20 points to
the total; if both dates don’t match or the date 2 is later than than date 1
no additional points are added to the total


=IFSUM(I7>M7)=N7+20,(I7)<(I7)=N7+0

CELL
(I7) DATE
(M7) DATE
(N7) SUM TOTAL =SUM(N1:N6)

PJEAN
 
L

Lars-Åke Aspelin

I am trying to accomplish the following;

If the dates 1 and 2 match or date 2 is earlier than date 1 add 20 points to
the total; if both dates don’t match or the date 2 is later than than date 1
no additional points are added to the total


=IFSUM(I7>M7)=N7+20,(I7)<(I7)=N7+0

CELL
(I7) DATE
(M7) DATE
(N7) SUM TOTAL =SUM(N1:N6)

PJEAN


Try this formula in cell N7:

=SUM(N1:N6)+20*(M7<=I7)

Hope this helps / Lars-Åke
 

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