#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Logical Formulas

I am trying to build a formula that if values change, the formula changes.
For example, if there is a small column of numbers such as line budgets. If
those budgets are revised, the new budget would be placed in the next column,
with a max of two revisions. I have an actual YTD costs, and a balance
formula. What I need is for the balance formula to calculate against the
budgeted amount (i.e. =budget-YTD). So if the budget is revised, I want the
balance to automatically consider the revised amount, not the original
amount.
I have tried using the IF stmt, but I cannot get the formula to consider the
revisions. Can anyone please help? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default Logical Formulas

Hi, Deb-
Let's say the budget column is A, the first revision column is B, the
second revision column is C; actuals YTD are in D, and the Balance
formula is in E. Let's assume the revisions are blank until they are
updated, since it's possible for a budget to be revised to zero.
(Trying to avoid a logic flaw, here.)

Try this formula:
=IF(C4<"",C4-D4,IF(B4<"",B4-D4,A4-D4))

It works from right to left to find the first non-blank entry starting
with revision 2; if revision 2 is blank it checks for a revision 1; if
rev 1 is blank it performs the math on the original budget amount.

Will that get you where you need to go?

Dave O

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Logical Formulas

Still not working. I copied the formula exactly to the spreadsheet, and
filled in the appropriate cell locations. The formula does not have any
errors, but the result of the formula shows a negative value of the current
YTD, in other words 0-YTD, not the budgeted as desired. For reference if it
helps, the columns a

Budget C74
Rev 1 E74
Rev 2 G74
YTD I74

Thanks

"DaveO" wrote:

Hi, Deb-
Let's say the budget column is A, the first revision column is B, the
second revision column is C; actuals YTD are in D, and the Balance
formula is in E. Let's assume the revisions are blank until they are
updated, since it's possible for a budget to be revised to zero.
(Trying to avoid a logic flaw, here.)

Try this formula:
=IF(C4<"",C4-D4,IF(B4<"",B4-D4,A4-D4))

It works from right to left to find the first non-blank entry starting
with revision 2; if revision 2 is blank it checks for a revision 1; if
rev 1 is blank it performs the math on the original budget amount.

Will that get you where you need to go?

Dave O


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Logical Formulas

Is there anyone that can help? Please advise.

"debinnyc" wrote:

Still not working. I copied the formula exactly to the spreadsheet, and
filled in the appropriate cell locations. The formula does not have any
errors, but the result of the formula shows a negative value of the current
YTD, in other words 0-YTD, not the budgeted as desired. For reference if it
helps, the columns a

Budget C74
Rev 1 E74
Rev 2 G74
YTD I74

Thanks

"DaveO" wrote:

Hi, Deb-
Let's say the budget column is A, the first revision column is B, the
second revision column is C; actuals YTD are in D, and the Balance
formula is in E. Let's assume the revisions are blank until they are
updated, since it's possible for a budget to be revised to zero.
(Trying to avoid a logic flaw, here.)

Try this formula:
=IF(C4<"",C4-D4,IF(B4<"",B4-D4,A4-D4))

It works from right to left to find the first non-blank entry starting
with revision 2; if revision 2 is blank it checks for a revision 1; if
rev 1 is blank it performs the math on the original budget amount.

Will that get you where you need to go?

Dave O


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
Combine logical formulas "if", "and", "or" pscu Excel Discussion (Misc queries) 5 November 2nd 06 07:43 PM
logical formulas in excel c.welch Excel Discussion (Misc queries) 3 March 16th 06 02:58 AM
Logical Value At A Loss Excel Worksheet Functions 7 March 13th 06 04:42 PM
Can logical formulas be used to build accounts receivable workshe. Kev270 Excel Worksheet Functions 2 October 8th 05 01:11 AM
Logical Function brandyda Excel Worksheet Functions 2 June 2nd 05 05:19 PM


All times are GMT +1. The time now is 07:08 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"