Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a simple formula in column k...=j2-i2....I want to expand it down the
column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=IF(COUNTA(I1:J1)=2, J1-I1, "") -- "Actually, I *am* a rocket scientist." -- JB (www.MadRocketScientist.com) Your feedback is appreciated, click YES if this post helped you. "Cheryl" wrote: I have a simple formula in column k...=j2-i2....I want to expand it down the column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This should work for you:
=IF(COUNTA(I1:J1)=2, J1-I1, "") -- "Actually, I *am* a rocket scientist." -- JB (www.MadRocketScientist.com) Your feedback is appreciated, click YES if this post helped you. "Cheryl" wrote: I have a simple formula in column k...=j2-i2....I want to expand it down the column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This should work for you:
=IF(COUNTA(I1:J1)=2, J1-I1, "") -- "Actually, I *am* a rocket scientist." -- JB (www.MadRocketScientist.com) Your feedback is appreciated, click YES if this post helped you. "Cheryl" wrote: I have a simple formula in column k...=j2-i2....I want to expand it down the column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This should work for you:
=IF(COUNTA(I1:J1)=2, J1-I1, "") -- "Actually, I *am* a rocket scientist." -- JB (www.MadRocketScientist.com) Your feedback is appreciated, click YES if this post helped you. "Cheryl" wrote: I have a simple formula in column k...=j2-i2....I want to expand it down the column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Nov 9, 1:50*pm, Cheryl wrote:
I have a simple formula in column k...=j2-i2....I want to expand it down the column but if one of the cells is empty I want it to just leave it blank or return a zero. Can someone tell me how to do this please? Thanks! -- Cheryl Try this =IF(OR(I2="",J2=""),"",J2-I2) Is it work ? Worawat |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF formula-simple question; simple operator | Excel Discussion (Misc queries) | |||
Simple problem, simple formula, no FUNCTION ! | Excel Worksheet Functions | |||
Need simple IF formula, please | Excel Worksheet Functions | |||
simple formula | Excel Worksheet Functions | |||
simple formula help | Excel Worksheet Functions |