2 combined IF formulas

Tryingtoresolve

New Member
Joined
Aug 28, 2023
Messages
24
Office Version
  1. 365
Platform
  1. Windows
I am trying to get a formula to work I can get each part to work separately but not together plus show NA if no return the formula I am looking at is =IF(E2="HOLD",J2+120)*IF(E2="SALE",J2+30) I can get it to sort of work but J2 is a date and it just returns 00/01/1900 for the formula but works correct if it's just =IF(E2="HOLD",J2+120)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Excel Formula:
=IF(E2="HOLD",J2+120,IF(E2="sale",J2+30))
 
Upvote 0
Thank you that works great how can I get it to show NA instead of False where the date is not required
 
Upvote 0
Excel Formula:
=IF(E2="HOLD",J2+120,IF(E2="sale",J2+30,"NA"))
will show NA if E2 has anything but Sale or Hold
 
Upvote 0

Forum statistics

Threads
1,215,107
Messages
6,123,127
Members
449,097
Latest member
mlckr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top