Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Annette
 
Posts: n/a
Default Blank cell criteria

I used this array formula in my macro to add all the cells that contain
blank in column F; however, it is not calculating ... should I use something
else?

=SUM((Sheet1!B2:B250="WARRANT")*(Sheet1!F2:F250=" ")*(Sheet1!C2:C250))

my code:

Worksheets("Sheet2").Range("b14").FormulaArray = _
"=SUM((Sheet1!B2:B250=""WARRANT"")*(Sheet1!F2:F250 =""
"")*(Sheet1!C2:C250))"



  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Use

Sheet1!F2:F250=""

Not

Sheet1!F2:F250=" "

HTH
Jason
Atlanta, GA

-----Original Message-----
I used this array formula in my macro to add all the

cells that contain
blank in column F; however, it is not calculating ...

should I use something
else?

=SUM((Sheet1!B2:B250="WARRANT")*(Sheet1!F2:F250 =" ")*

(Sheet1!C2:C250))

my code:

Worksheets("Sheet2").Range("b14").FormulaArray = _
"=SUM((Sheet1!B2:B250=""WARRANT"")*(Sheet1!F2:F250 =""
"")*(Sheet1!C2:C250))"



.

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

That is not blanki but space. Use

=SUM((Sheet1!B2:B250="WARRANT")*(Sheet1!F2:F250="" )*(Sheet1!C2:C250))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Annette" wrote in message
...
I used this array formula in my macro to add all the cells that contain
blank in column F; however, it is not calculating ... should I use

something
else?

=SUM((Sheet1!B2:B250="WARRANT")*(Sheet1!F2:F250=" ")*(Sheet1!C2:C250))

my code:

Worksheets("Sheet2").Range("b14").FormulaArray = _
"=SUM((Sheet1!B2:B250=""WARRANT"")*(Sheet1!F2:F250 =""
"")*(Sheet1!C2:C250))"





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
Cell set to wrap text and blank line -- fix? Fred Holmes Excel Discussion (Misc queries) 0 January 25th 05 07:10 PM
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. QUEST41067 Excel Discussion (Misc queries) 1 January 15th 05 09:29 PM
conditional formatting blank cell TREK5200 Excel Discussion (Misc queries) 1 December 6th 04 02:23 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
VLookup resulting in a blank cell... KempensBoerke Excel Worksheet Functions 1 October 28th 04 09:57 PM


All times are GMT +1. The time now is 10:50 PM.

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"