![]() |
Stopping IF command from entering zero or 1 for blank cells
Dear All, I have a panel of data with some blank cells (absent observations).
If I replace the blanks with anything ("""", #NA etc.) and then run the IF command (say, IF(B2361,1,B236)), I get a one where the blank cells used to be. I want the value to remain blank, instead of recording a false 'observation'. Can anyone help? Nick |
Stopping IF command from entering zero or 1 for blank cells
Try it like this...
=IF(COUNT(B236),IF(B2361,1,B236),"") -- Biff Microsoft Excel MVP "Nick S" <Nick wrote in message ... Dear All, I have a panel of data with some blank cells (absent observations). If I replace the blanks with anything ("""", #NA etc.) and then run the IF command (say, IF(B2361,1,B236)), I get a one where the blank cells used to be. I want the value to remain blank, instead of recording a false 'observation'. Can anyone help? Nick |
Stopping IF command from entering zero or 1 for blank cells
Try
=IF(ISERROR(B236*1),"",MIN(1,B236)) If this post helps click Yes --------------- Jacob Skaria "Nick S" wrote: Dear All, I have a panel of data with some blank cells (absent observations). If I replace the blanks with anything ("""", #NA etc.) and then run the IF command (say, IF(B2361,1,B236)), I get a one where the blank cells used to be. I want the value to remain blank, instead of recording a false 'observation'. Can anyone help? Nick |
All times are GMT +1. The time now is 04:12 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com