Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am working on a spread sheet where I am calculating the percentage of
retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try
=IF(J30,SUM((H3-J3)/H3),SUM((H3-I3)/H3)) Mike "Michelle" wrote: I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=(H3-IF(J3="",I3,J3))/H3 Biff "Michelle" wrote in message ... I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You might want to check for blank H3 as well since you will get an error if
H is blank =(H3-IF(J3="",I3,J3))/H3 =IF(N(H3)=0,"",(H3-IF(J3="",I3,J3))/H3) -- Regards, Peo Sjoblom "Michelle" wrote in message ... I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks, Mike! You rock! It worked!
"Mike H" wrote: Try =IF(J30,SUM((H3-J3)/H3),SUM((H3-I3)/H3)) Mike "Michelle" wrote: I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Michelle,
I thought it might, thanks for the feedback. However you might like to read your other posts because checking that J3 is a number is also a good idea. Mike "Michelle" wrote: Thanks, Mike! You rock! It worked! "Mike H" wrote: Try =IF(J30,SUM((H3-J3)/H3),SUM((H3-I3)/H3)) Mike "Michelle" wrote: I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
No need for the SUM function in this case
-- Regards, Peo Sjoblom "Michelle" wrote in message ... Thanks, Mike! You rock! It worked! "Mike H" wrote: Try =IF(J30,SUM((H3-J3)/H3),SUM((H3-I3)/H3)) Mike "Michelle" wrote: I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks to all for respoding so quickly!! Much appreciated!
"Peo Sjoblom" wrote: You might want to check for blank H3 as well since you will get an error if H is blank =(H3-IF(J3="",I3,J3))/H3 =IF(N(H3)=0,"",(H3-IF(J3="",I3,J3))/H3) -- Regards, Peo Sjoblom "Michelle" wrote in message ... I am working on a spread sheet where I am calculating the percentage of retail markdowns. I am using the formula below: =SUM((H3-J3)/H3) But, in some cases j will be empty, so I want it to use i instead. Is there a formula I can use to make it use i if j is empty? Thanks so much! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formula | Excel Discussion (Misc queries) | |||
Conditional Formula help | Excel Discussion (Misc queries) | |||
conditional formula | Excel Worksheet Functions | |||
Conditional Formula to indicate Formula in cell | New Users to Excel | |||
conditional sum formula | Excel Worksheet Functions |