• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

if funtion

Rodrigues

Member
All
I would like to use the if function in a range of cells as below:
formula on cell B1
=if(A1:A100-"blank",10,"20")
If cells range a1:a100=blank then display10 otherwise display20.

Have tried a different formats without luck.
Many thanks in advance
R
 
Here's two alternative as you want.

=IF(COUNTA(A1:A100),10,20)

=IF(COUNTBLANK(A1:A100)=100,10,20)
 
Here's two alternative as you want.

=IF(COUNTA(A1:A100),10,20)

=IF(COUNTBLANK(A1:A100)=100,10,20)
Hi
I'm sorry, I have mentioned blank in error I meant white colour not blank cell.
So if there is white should display 10, if not 20
Thank you for your prompt reply
R
 
Please see attached.
Also I need (if possible) an if and or functions formula (file attached)
Thanks
 

Attachments

  • test.xlsx
    8.2 KB · Views: 12
Back
Top