![]() |
If with a range
I wanted to include a range in this calculation but not sure how.
=IF(M5="0",L5*K5,0) The range would be if anything found in columns M through Q = 0, then ... How would I write this? Thanks! Annette |
Annette,
=IF(COUNTIF(M5:Q5,0)=0,"What to do if true", "What to do if false") perhaps: =IF(COUNTIF(M5:Q5,0)=0,L5*K5,0) HTH, Bernie MS Excel MVP "Annette" wrote in message ... I wanted to include a range in this calculation but not sure how. =IF(M5="0",L5*K5,0) The range would be if anything found in columns M through Q = 0, then ... How would I write this? Thanks! Annette |
All times are GMT +1. The time now is 05:32 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com