Having Excel IF formulas print text and calc

Solved/Closed
martinwuff - Updated on Jan 31, 2019 at 03:38 PM
 martinwuff - Mar 6, 2009 at 12:21 PM
Hello,

I am trying to get Excel IF formulas to print text and calculation based on true/false. Such as, if I have some dates, and I don't need to send a notice to a department if they still have 15 days to fix something, I say No Notice.

But if they have less than 15 days, I want it to print "This department only has xx days remaining".

=IF([cell]>=15,"No Notice","This Department only has [15-[cell]] days left")

I can only seem to find how to print text OR a calculation, not both in the same.

I know I could add another column after with a blank or "days left to complete", but I wanted to know if I could do it all in one IF statement.

Thanks!
System Configuration: Windows XP Internet Explorer 7.0
Related:

1 response

Hey,

=IF([cell]>=15,"No Notice",IF([cell]<15,"This department only has "&ROUNDUP([cell],0)&"days left",""))


Hope this helps!
20
Yes it did! THe format that I needed was basically "&([cell])&" is the & signs that I needed. Thanks so much!!
0