Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Lika
 
Posts: n/a
Default how can avoid considering of blank cells in IF function

I am using the following formulas:
=IF(H8=J8,"1","0")+IF(H10=J10,"1","0")+IF(H12=J12, "1","0")
but is counting also the blank cells. I would like to compar the cells when
there are numbers (including zero) inside (not blank).
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Aladin Akyurek
 
Posts: n/a
Default how can avoid considering of blank cells in IF function

=(COUNT(H8,J8)=2)*(H8=J8)+(COUNT(H10,J10)=2)*(H10= J10)+(COUNT(H12,J12)=2)*(H12=J12)

Lika wrote:
I am using the following formulas:
=IF(H8=J8,"1","0")+IF(H10=J10,"1","0")+IF(H12=J12, "1","0")
but is counting also the blank cells. I would like to compar the cells when
there are numbers (including zero) inside (not blank).

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
If Function for BLANK cells Andy Excel Worksheet Functions 3 May 25th 06 10:02 AM
Sumif function does not add up cells, even when criteria is blank Beckster Excel Worksheet Functions 5 January 13th 06 06:24 PM
Formula to delete blank cells across multiple columns? SamFunMail Excel Worksheet Functions 2 September 1st 05 07:05 AM
Omit blank cells from function results TanyaE Excel Worksheet Functions 3 September 1st 05 05:22 AM
IF function to blank without getting #value in sum function Brad Stevenson Excel Worksheet Functions 5 May 26th 05 10:26 AM


All times are GMT +1. The time now is 05:55 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"