ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel 2003 (https://www.excelbanter.com/excel-worksheet-functions/178523-excel-2003-a.html)

ldmere

excel 2003
 
How do I replace a formula with a text statement ?
K2
=IF(Q2P2,P2,(Q2<P2,Q2))

If L2 cell is "Y" or "P", I want K2 to either be blank or "Extd"

Thanks


Rick Rothstein \(MVP - VB\)[_122_]

excel 2003
 
If I understand your question correctly, put this formula in K2...

=IF(L2="Y","",IF(L2="P","Extd",IF(Q2P2,P2,(Q2<P2, Q2))))

Rick


"ldmere" wrote in message
...
How do I replace a formula with a text statement ?
K2
=IF(Q2P2,P2,(Q2<P2,Q2))

If L2 cell is "Y" or "P", I want K2 to either be blank or "Extd"

Thanks



Tyro[_2_]

excel 2003
 
The statement =IF(Q2P2,P2,(Q2<P2,Q2)) has an error in it. I presume you
want =IF(Q2P2,P2,IF(Q2<P2,Q2)). But then, what do you want if Q2 = P2?

Tyro


"ldmere" wrote in message
...
How do I replace a formula with a text statement ?
K2
=IF(Q2P2,P2,(Q2<P2,Q2))

If L2 cell is "Y" or "P", I want K2 to either be blank or "Extd"

Thanks





All times are GMT +1. The time now is 09:54 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com