Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Running formula before an empty column(cell)

Hi,

I recently want to evaluate the accuracy of monthly forecast starting
from Jan'07.
If the Actual/forecast(A/F) 115% or <85% for consecutive 3 months in
most recent 3 months, I will mark it as "over", otherwise I will mark
it as "normal".
Table looks like this

Directors Jan(A/F) Feb(A/F) Mar(A/F) Apr(A/F) ...........Dec(A/
F) Evaluate
A 85.1% 73.1% ........................................
Over

Because it is a rolling forecast, I have to modify my "evaluate"
formula every month:

=IF(AND(ABS('JanA/F'-1)0.15,ABS('FebA/F'-1)0.15,ABS('MarA/
F'-1)0.15),"over","normal")

Is it possible to write a formula running formula before an empty
column ( I will leave "months after current month" blank ) that I
don't need to update formula but only add current month A/F data and
it will automatically shows most recent 3 months?

Thank a ton.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Running formula before an empty column(cell)

Sorry, I mean" I need formula that
it will automatically shows most recent 3 months evaluate result"


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default Running formula before an empty column(cell)

Define (Insert Name Define) BigNum as 9.99999999999999E+307, then
try the following formula, which needs to be confirmed with
CONTROL+SHIFT+ENTER, not just ENTER...

=IF(COUNT(B2:M2)=3,IF(AND(ABS(INDEX(B2:M2,MATCH(B igNum,B2:M2)-3+1):INDEX
(B2:M2,MATCH(BigNum,B2:M2))-1)0.15),"Over","Normal"),"<3 months")

Hope this helps!

In article .com,
"Jenny" wrote:

Hi,

I recently want to evaluate the accuracy of monthly forecast starting
from Jan'07.
If the Actual/forecast(A/F) 115% or <85% for consecutive 3 months in
most recent 3 months, I will mark it as "over", otherwise I will mark
it as "normal".
Table looks like this

Directors Jan(A/F) Feb(A/F) Mar(A/F) Apr(A/F) ...........Dec(A/
F) Evaluate
A 85.1% 73.1%
........................................
Over

Because it is a rolling forecast, I have to modify my "evaluate"
formula every month:

=IF(AND(ABS('JanA/F'-1)0.15,ABS('FebA/F'-1)0.15,ABS('MarA/
F'-1)0.15),"over","normal")

Is it possible to write a formula running formula before an empty
column ( I will leave "months after current month" blank ) that I
don't need to update formula but only add current month A/F data and
it will automatically shows most recent 3 months?

Thank a ton.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Running formula before an empty column(cell)

On Mar 27, 1:23 pm, "Jenny" wrote:
Sorry, I mean" I need formula that
it will automatically shows most recent 3 months evaluate result"


I added a column to the right of the "evaluate" column and entered the
formula
=ADDRESS(2,MATCH(TRUE,A2:L2="",0),4) (enter as array formula CTRL-
SHIFT-ENTER)
Then, in the "evaluate" column, I put the formula
=IF(AND(ABS(OFFSET(INDIRECT(N2),0,-3)-1)0.15,ABS(OFFSET(INDIRECT(N2),
0,-2)-1)0.15,ABS(OFFSET(INDIRECT(N2),0,-1)-1)0.15),"over","normal")

This will cause an error if there are less than 3 cells to reference.
You can enter the "evaluate" formula as a named range (myFormula) then
use the formula
=IF(ISERROR(myFormula),"< 3 months",myFormula)

I hope that helps.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Running formula before an empty column(cell)

Thanks Domenic
I tried your formulas. The first one works well is exactly what I
want. Can you tell me what dose bif number for...?

Thanks Meatshield

I also tried your formula but the results are always "Over".....

Jenny



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default Running formula before an empty column(cell)

In article .com,
"Jenny" wrote:

Thanks Domenic


You're very welcome!

Can you tell me what dose bif number for...?


Have a look at Aladin's explanation here...

http://www.mrexcel.com/board2/viewtopic.php?t=105725

Hope this helps!
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Running formula before an empty column(cell)

=IF(COUNT(B3:M3)2,IF(AND(ABS(INDIRECT("R"&ROW(3:3 )&"C"&(COUNT(B3:M3)-1),FALSE)-1)0.15,ABS(INDIRECT("R"&ROW(3:3)&"C"&(COUNT(B3:M3 )),FALSE)-1)0.15,ABS(INDIRECT("R"&ROW(3:3)&"C"&(COUNT(B3:M3 )+1),FALSE)-1)0.15),"over","normal"),"Three months required to evaluate")

This is assuming that your values are B3:M3

INDIRECT("R"&ROW(3:3)&"C"&(COUNTA(B3:M3)-1) has been substituted for your
cell references.
Row() is selecting row three and count is determining how many months you
have data for and subtracting 1 on the first adding 1 to the last to select
the appropriate three columns. The & is putting it all together in a R3C3
format that indirect reads as addresses that your formula can understand.
If you have less than three months, it will at this point display the text
"Three months required to evaluate", since you didn't specify.
Have fun!

"Jenny" wrote:

Hi,

I recently want to evaluate the accuracy of monthly forecast starting
from Jan'07.
If the Actual/forecast(A/F) 115% or <85% for consecutive 3 months in
most recent 3 months, I will mark it as "over", otherwise I will mark
it as "normal".
Table looks like this

Directors Jan(A/F) Feb(A/F) Mar(A/F) Apr(A/F) ...........Dec(A/
F) Evaluate
A 85.1% 73.1% ........................................
Over

Because it is a rolling forecast, I have to modify my "evaluate"
formula every month:

=IF(AND(ABS('JanA/F'-1)0.15,ABS('FebA/F'-1)0.15,ABS('MarA/
F'-1)0.15),"over","normal")

Is it possible to write a formula running formula before an empty
column ( I will leave "months after current month" blank ) that I
don't need to update formula but only add current month A/F data and
it will automatically shows most recent 3 months?

Thank a ton.


  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 39
Default Running formula before an empty column(cell)

On Mar 27, 7:12 pm, "Jenny" wrote:
Thanks Domenic
I tried your formulas. The first one works well is exactly what I
want. Can you tell me what dose bif number for...?

Thanks Meatshield

I also tried your formula but the results are always "Over".....

Jenny


Hmm.. When you enter the array formula, you'll have to make sure it is
pointing to the correct row.. The output will be something like "D2"
If the percentages are in row 5, the formula will not return the
correct result. Assuming that the formula will be looking for blank
cells in the same row as itself, you can change the formula to be:
ADDRESS(ROW(),MATCH(TRUE,A29:L29="",0),4)
entered as an array formula.
I hope that helps.

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Running formula before an empty column(cell)

Jenny

Hmm.. When you enter the array formula, you'll have to make sure it is
pointing to the correct row.. The output will be something like "D2"
If the percentages are in row 5, the formula will not return the
correct result. Assuming that the formula will be looking for blank
cells in the same row as itself, you can change the formula to be:
ADDRESS(ROW(),MATCH(TRUE,A29:L29="",0),4)
entered as an array formula.
I hope that helps.


Thanks for your explanation.
I try it again and found that it is because I didn't point it to the
right row.
Thanks again

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Running formula before an empty column(cell)

On Mar 27, 6:08 pm, BoniM wrote:
=IF(COUNT(B3:M3)2,IF(AND(ABS(INDIRECT("R"&ROW(3:3 )&"C"&(COUNT(B3:M3)-1),FA*LSE)-1)0.15,ABS(INDIRECT("R"&ROW(3:3)&"C"&(COUNT(B3:M3 )),FALSE)-1)0.15,AB*S(INDIRECT("R"&ROW(3:3)&"C"&(COUNT(B3:M 3)+1),FALSE)-1)0.15),"over","normal*"),"Three months required to evaluate")

This is assuming that your values are B3:M3

INDIRECT("R"&ROW(3:3)&"C"&(COUNTA(B3:M3)-1) has been substituted for your
cell references.
Row() is selecting row three and count is determining how many months you
have data for and subtracting 1 on the first adding 1 to the last to select
the appropriate three columns. The & is putting it all together in a R3C3
format that indirect reads as addresses that your formula can understand.
If you have less than three months, it will at this point display the text
"Three months required to evaluate", since you didn't specify.
Have fun!



"Jenny" wrote:
Hi,


I recently want to evaluate the accuracy of monthly forecast starting
from Jan'07.
If the Actual/forecast(A/F) 115% or <85% for consecutive 3 months in
most recent 3 months, I will mark it as "over", otherwise I will mark
it as "normal".
Table looks like this


Directors Jan(A/F) Feb(A/F) Mar(A/F) Apr(A/F) ...........Dec(A/
F) Evaluate
A 85.1% 73.1% .........................................
Over


Because it is a rolling forecast, I have to modify my "evaluate"
formula every month:


=IF(AND(ABS('JanA/F'-1)0.15,ABS('FebA/F'-1)0.15,ABS('MarA/
F'-1)0.15),"over","normal")


Is it possible to write a formula running formula before an empty
column ( I will leave "months after current month" blank ) that I
don't need to update formula but only add current month A/F data and
it will automatically shows most recent 3 months?


Thank a ton.- Hide quoted text -


- Show quoted text -


Thanks everyone.
Got a lot of good suggestions.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofilling next empty cell in column? Bruce New Users to Excel 2 April 21st 06 04:51 AM
Using last cell in a column that is not empty in a calculation Leo V. Excel Worksheet Functions 0 February 24th 06 06:33 AM
Copy from row above if cell is empty in column Jacky D. Excel Discussion (Misc queries) 2 December 20th 05 07:36 PM
I want the first cell of a column to be a running bal for that col rsilver Excel Discussion (Misc queries) 4 November 19th 05 03:09 PM
help locating first empty cell in a Column Celt Excel Worksheet Functions 8 September 19th 05 04:58 PM


All times are GMT +1. The time now is 08:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"