If Formula - Desperate for help

G

Gor_yee

hey all, how are you??I am desperately seeking a IF formula. Here is
the question that i am stuck at. I have 5 different fields for a
number of weeks, for eg. I have RAW SALES, FORECAST, PROMO FORECAST,
STORE FORECAST, OOS (Number of days out of stock). I currently have
the below formula :

if(and(OOS=0,Store Forecast=0,Promo Forecast=0),Raw sales, (Raw Sales/
7)*OOS + Raw Sales.

what i also need is, if either Store Forecast or Promo Forecast = 1, i
need the formula to equal the Raw Sales. How do i do this??Please
please please please help...love you all...
 
R

Ron Rosenfeld

hey all, how are you??I am desperately seeking a IF formula. Here is
the question that i am stuck at. I have 5 different fields for a
number of weeks, for eg. I have RAW SALES, FORECAST, PROMO FORECAST,
STORE FORECAST, OOS (Number of days out of stock). I currently have
the below formula :

if(and(OOS=0,Store Forecast=0,Promo Forecast=0),Raw sales, (Raw Sales/
7)*OOS + Raw Sales.

what i also need is, if either Store Forecast or Promo Forecast = 1, i
need the formula to equal the Raw Sales. How do i do this??Please
please please please help...love you all...


OR(and(OOS=0,Store Forecast=0,Promo Forecast=0),store forecast=1,promo
forecast=1)

--ron
 
G

Gor_yee

OR(and(OOS=0,Store Forecast=0,Promo Forecast=0),store forecast=1,promo
forecast=1)

--ron

hi ron..

thanks for your prompt reply, but i dont really understand how this
formula works..i've tried entering it but it says the formula is wrong.
 
R

Ron Rosenfeld

hi ron..

thanks for your prompt reply, but i dont really understand how this
formula works..i've tried entering it but it says the formula is wrong.

What I posted was a substitute for the logical test portion of your original
formula.

What, exactly did you enter?
Please do a Copy Paste into your newsreader.

--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

slow code with many loopings 6
Data Input 1
Available to sell 1
Entering an "IF" formula 8
Forumla Help 12
Nested Forecast Formula Help 2
If statement 3
Pivot Table custom calculations 1

Top