Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Logical Formula

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? Below is what I have tried, based on help
from here. Thanks

=IF(G74<"",G74-I74,IF(E74<"",E74-I74,C74-I74))

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Logical Formula

Consider the original budget in column A. Any revisions to the original
budget in column B. Entries in column B will be empty until a revision is
made. YTD Actuals will be in column C. The calculation is in column D. In
D1:

=IF(B1="",A1-C1,B1-C1)
--
Gary''s Student - gsnu200736
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Logical Formula

What if there is a second column for revision, for instance:
Budget-A
Rev1-B
Rev2-C
YTD-D
Calc-E

How would it change? Thanks for your help.

"Gary''s Student" wrote:

Consider the original budget in column A. Any revisions to the original
budget in column B. Entries in column B will be empty until a revision is
made. YTD Actuals will be in column C. The calculation is in column D. In
D1:

=IF(B1="",A1-C1,B1-C1)
--
Gary''s Student - gsnu200736

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 176
Default Logical Formula

debinnyc wrote:
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? Below is what I have tried, based on help
from here. Thanks
=IF(G74<"",G74-I74,IF(E74<"",E74-I74,C74-I74))


Your formula works for me
100 101 102 90 xxx
xxx = =IF(C1<"",C1-D1,IF(B1<"",B1-D1,A1-D1))
gives 12 (102-90)

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Logical Formula

Just nest the IFs:

=IF(C1="",IF(B1="",A1-D1,B1-D1),C1-D1)

--
Gary''s Student - gsnu200736


"debinnyc" wrote:

What if there is a second column for revision, for instance:
Budget-A
Rev1-B
Rev2-C
YTD-D
Calc-E

How would it change? Thanks for your help.

"Gary''s Student" wrote:

Consider the original budget in column A. Any revisions to the original
budget in column B. Entries in column B will be empty until a revision is
made. YTD Actuals will be in column C. The calculation is in column D. In
D1:

=IF(B1="",A1-C1,B1-C1)
--
Gary''s Student - gsnu200736

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
logical formula mike Excel Worksheet Functions 2 October 28th 08 06:21 AM
Help with Logical Formula talltom Excel Worksheet Functions 4 November 5th 07 07:58 PM
Multiple logical formula spaceage Excel Worksheet Functions 8 March 28th 07 02:08 PM
EXCEL LOGICAL FORMULA, PLEASE HELP! Jan Excel Worksheet Functions 3 March 7th 07 02:38 AM
Need help about logical formula vlook fomula Excel Worksheet Functions 3 January 24th 07 01:21 PM


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