Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Ignore blank celss in left function

Hi,

I am using a left function as part of an array formula to count cells
starting with 1.1
I have used the left formula to recoginse 1.1 as a number, as they are
entered in the cells as numbers.

The formula works accept when the cell range contains a blank cell or text.
I want to be able to refernce a column that might contain blank cells or
cells that contain text. Essentially I want the left funtion to ignore these
cells or recoginise them as 0 instead. At the moment the left formula
returns a #VALUE error for these cells.

Is there any way to have the left function recognise numbers as numbers and
ignore blank celss or cells with text.

My formula is
=SUM(IF(((A1:A7="Completed")*(B1:B7="Q1")*(--LEFT(C1:C7,3)=1.1))0,1,0))
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Ignore blank celss in left function

Try this:

=SUMPRODUCT((A1:A7="Completed")*(B1:B7="Q1")*(ISNU MBER(FIND("1.1",LEFT(C1:C7
,3)))))

Not an array formula like yours - just regular entry!

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"bradmcq" wrote in message
...
Hi,

I am using a left function as part of an array formula to count cells
starting with 1.1
I have used the left formula to recoginse 1.1 as a number, as they are
entered in the cells as numbers.

The formula works accept when the cell range contains a blank cell or

text.
I want to be able to refernce a column that might contain blank cells or
cells that contain text. Essentially I want the left funtion to ignore

these
cells or recoginise them as 0 instead. At the moment the left formula
returns a #VALUE error for these cells.

Is there any way to have the left function recognise numbers as numbers

and
ignore blank celss or cells with text.

My formula is
=SUM(IF(((A1:A7="Completed")*(B1:B7="Q1")*(--LEFT(C1:C7,3)=1.1))0,1,0))
Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Ignore blank celss in left function

Try it like this (array entered):

=SUM((A1:A7="Completed")*(B1:B7="Q1")*(LEFT(C1:C7, 3)="1.1"))

--
Biff
Microsoft Excel MVP


"bradmcq" wrote in message
...
Hi,

I am using a left function as part of an array formula to count cells
starting with 1.1
I have used the left formula to recoginse 1.1 as a number, as they are
entered in the cells as numbers.

The formula works accept when the cell range contains a blank cell or
text.
I want to be able to refernce a column that might contain blank cells or
cells that contain text. Essentially I want the left funtion to ignore
these
cells or recoginise them as 0 instead. At the moment the left formula
returns a #VALUE error for these cells.

Is there any way to have the left function recognise numbers as numbers
and
ignore blank celss or cells with text.

My formula is
=SUM(IF(((A1:A7="Completed")*(B1:B7="Q1")*(--LEFT(C1:C7,3)=1.1))0,1,0))
Thanks



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
ignore blank vicki Excel Discussion (Misc queries) 6 January 16th 09 06:01 AM
ignore cells that are blank Robert Excel Discussion (Misc queries) 4 November 27th 08 02:52 AM
Ignore blank cells when calculating date for If, Then function AndreaS13 Excel Worksheet Functions 3 July 29th 08 12:30 AM
ignore blank Naomi Excel Discussion (Misc queries) 1 December 1st 06 12:55 PM
ignore blank cells in function Neil Excel Discussion (Misc queries) 1 October 21st 06 02:22 AM


All times are GMT +1. The time now is 03:19 PM.

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

About Us

"It's about Microsoft Excel"