Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
Hi,
Cell A1 contains the number 5 Cell A2 contains "" Cell A3 contains =A1+A2 A3 returns #VALUE! How can I make it return 5? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
One way:
A3: =IF(COUNT(A1:A2)=2,A1+A2,"") another: A3: =SUM(A1:A2) since SUM ignores text. In article .com, "Ryan H." wrote: Hi, Cell A1 contains the number 5 Cell A2 contains "" Cell A3 contains =A1+A2 A3 returns #VALUE! How can I make it return 5? Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
Sun, 08 Aug 2004 19:24:07 GMT, Ryan H. wrote :
Hi, Cell A1 contains the number 5 Cell A2 contains "" Cell A3 contains =A1+A2 A3 returns #VALUE! How can I make it return 5? Thanks =Sum(A1:A2) -- Winamp 5.03. odtwarza : Hubtone feat. Zoe Johnston - Red Balloon (R.A.D.I.O. 42 : Music for LOUNGE-LOVERS finest electronica chillout house nujazz funky beats radio42) <<------------------------------------------------------ |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
Misread your requirement - use the second of my suggestions...
In article , JE McGimpsey wrote: One way: A3: =IF(COUNT(A1:A2)=2,A1+A2,"") |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
Thank you guys for your responses, but there is a problem.
Cell A1 contains the number 5 Cell A2 contains ="" Cell A3 contains =SUM(A1,-A2) A3 still returns #VALUE! I think its because you can't have a negative zero "JE McGimpsey" wrote in message ... Misread your requirement - use the second of my suggestions... In article , JE McGimpsey wrote: One way: A3: =IF(COUNT(A1:A2)=2,A1+A2,"") |
#6
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
one way:
=SUM(A1,-N(A2)) In article .com, "Ryan H." wrote: Thank you guys for your responses, but there is a problem. |
#7
Posted to microsoft.public.excel.programming
|
|||
|
|||
#value! when cell is blank
Hi,
=N(A1)+N(A2) or =SUM(A1)+SUM(A2) -- Regards, Soo Cheon Jheong _ _ ^ąŻ^ -- |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to return a blank formula cell if the reference is blank? | Excel Worksheet Functions | |||
Average Formula to display blank cell if named range is blank | Excel Worksheet Functions | |||
how to get excel to display blank if reference cell blank | Excel Worksheet Functions | |||
How do I make a blank cell with a date format blank? | Excel Worksheet Functions | |||
COPY A CONCATENATE CELL TO BLANK CELL PUTTING IN THE NEXT BLANK C. | Excel Discussion (Misc queries) |