![]() |
perform a calculation when a certain phrase appears in a cell
I am trying to build a spreadsheet to perform a arithematic when a phrase
appears in a cell (ie: Yes or NO) |
perform a calculation when a certain phrase appears in a cell
If it is only 2 phrases use if statements, if the value you are interested in is in cell A1 and the phrases are YEs and No If(a1="Yes",the calculation if it is yes,if(a1="No","the calculation if it is no","")) Eg =if(a1="Yes", c1*d1,if(a1="No",d1*e1,"")) Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=558712 |
All times are GMT +1. The time now is 04:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com