Multiple IF statements in one cell

Anonymous
2023-06-20T12:56:58+00:00

Hi,

Need to have multiple IF statements in one cell.

IF D12=D1 then E12 if not 0 IF D13=D1 then E13 if not 0 IF D14=D1 then E14 if not 0

D12-14 will be different dates.

With only one IF statement in cell D4, I get the correct value. =IF($D12=D1,$E12,0)

Also tried IFS statement. No go.

Please explain how I can have multiple IF statements in one cell using dates and amounts shown below.

Thanks,

Geir Karlsen

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2023-06-20T13:00:50+00:00

    =IF(D12=D1,E12,IF(D13=D1,E13,IF(D14=D1,E14,0)))

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful