Link to home
Start Free TrialLog in
Avatar of dabug80
dabug80

asked on

Excel: IF(ISNA) / Else calculation statement

Hello,

I would like to run a IF(ISNA) statement, however if there is no '#N/A' found, then run a calculation. Is this possible?

My current formula is (line breaks for ease of reading)

=IF(ISNA(I2-(INDEX('Sent Emails'!I:I,MATCH('3 Month Letter'!A2,'Sent Emails'!A:A,0)))),1,
(INDEX('Sent Emails'!I:I,MATCH('3 Month Letter'!A2,'Sent Emails'!A:A,0))))>240,1,2))

Currently, this returns 'false' if there's no #N/A. Instead I would like Excel to calculate the second line of my formula.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Phillip Burton
Phillip Burton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dabug80
dabug80

ASKER

Thanks. I split the points. Final formula was:

=IF(ISNA(I2-(INDEX('Sent Emails'!I:I,MATCH('3 Month Letter'!A2,'Sent Emails'!A:A,0)))),1,IF((INDEX('Sent Emails'!I:I,MATCH('3 Month Letter'!A2,'Sent Emails'!A:A,0)))>240,1,2))