Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I'm trying to run a simple formula but I only want it to run if the cells
have data in them otherwise I want it to be left blank. I keep getting a VALUE in the cell where the function is. Example: in cell C1 I want to =SUM(A1+27) only if A1 has a value in it otherwise leave C1 blank Thanks, Karen |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=if(a1="","",a1+27).I hope A1 doent have a formula in it,otherwise you might
need =if(a1=0,"",a1+27) -- paul remove nospam for email addy! "Karen" wrote: I'm trying to run a simple formula but I only want it to run if the cells have data in them otherwise I want it to be left blank. I keep getting a VALUE in the cell where the function is. Example: in cell C1 I want to =SUM(A1+27) only if A1 has a value in it otherwise leave C1 blank Thanks, Karen |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Karen,
If you are getting a #VALUE error, this implies that A1 contains a text value - it might look like a number, but it may have an apostrophe in front of it or the cell may be pre-formatted as Text. Or it might look blank but contain a space. Something like this should work: =IF(OR(A1="",A1=" "),"",VALUE(A1)+27) Hope this helps. Pete Karen wrote: I'm trying to run a simple formula but I only want it to run if the cells have data in them otherwise I want it to be left blank. I keep getting a VALUE in the cell where the function is. Example: in cell C1 I want to =SUM(A1+27) only if A1 has a value in it otherwise leave C1 blank Thanks, Karen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automate replace values in formula | Excel Discussion (Misc queries) | |||
Lookup Data in two seperate Spreadsheets | Excel Worksheet Functions | |||
excel formula to enter "0" if cell blank | Excel Worksheet Functions | |||
enter numbers in blank cells | Excel Worksheet Functions | |||
Count Intervals of Filtered TEXT values in Column and Return Count across a Row | Excel Worksheet Functions |