Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cell set to wrap text and blank line -- fix? | Excel Discussion (Misc queries) | |||
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. | Excel Discussion (Misc queries) | |||
conditional formatting blank cell | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions | |||
VLookup resulting in a blank cell... | Excel Worksheet Functions |