IF Sum Question

bloodmilksky

Board Regular
Joined
Feb 3, 2016
Messages
202
Hi Guys,

I was just wondering if anyone knew what the sum was for

=E2(IF("",NA,(TODAY()))

I have tried entering it as an array but doesnt seem to work.

Basically I just want it so if there is a text value in E2 return todays date in C2 if not it will return NA
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
You need this:

=IF(ISTEXT(E2)=TRUE,TODAY(),"N/A")

Remember to format your cell as 'Date'

You don't need to enter it as an array formula
 
Last edited:
Upvote 0
No need for an array formula, just the correct syntax! In C2:

=IF(E2="","NA",TODAY())
 
Upvote 0
You need this:

=IF(ISTEXT(E2)=TRUE,TODAY(),"N/A")

Remember to format your cell as 'Date'

You don't need to enter it as an array formula

or

IF(ISTEXT(E2),TODAY(),"N/A")
 
Upvote 0
Thank you soooo Much really appreciate your help.

can I just ask if I wanted a similar formula but simply created a line number ever time a text value was in E2 would that be a similar formula? so Like 1,2,3,4,5 and so on
 
Upvote 0
Thank you soooo Much really appreciate your help.

can I just ask if I wanted a similar formula but simply created a line number ever time a text value was in E2 would that be a similar formula? so Like 1,2,3,4,5 and so on

Please clarify: what would the expected outcome be? Are you looking for an incremental solution? If so, it's going to be more complex.
 
Upvote 0
I am awfully sorry I am talking pre caffine at the moment so not making much sense.

but yes if there was a text value in E2 the outcome would be incremental so 1,2,3 and if not just NA
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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