#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default If function

I need to set up formula and I need help! For example,

1. If balance $$$ is more than budget $$$, it will show overspent as a
comment
2. If balance $$$ is less than budget and there are 3.8 months to spent the
budget, it will show OK
3. If balance $$$ is too close to the budget, it will show Problem,
because balance is too small and there are 2 more months left.

Budget Balance Month left Comment

2,000.00 10.00 2.0 Problem
10,000.00 9,800.00 3.8 OK
3,000.00 3,100.00 2 overspent

Please help! Thank you.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default If function

IF(BalanceBudget,"overspent",if(and(balance<budge t,months
left=3.8),"OK",),"problem"))

Dave
--
Brevity is the soul of wit.


"momotaro" wrote:

I need to set up formula and I need help! For example,

1. If balance $$$ is more than budget $$$, it will show overspent as a
comment
2. If balance $$$ is less than budget and there are 3.8 months to spent the
budget, it will show OK
3. If balance $$$ is too close to the budget, it will show Problem,
because balance is too small and there are 2 more months left.

Budget Balance Month left Comment

2,000.00 10.00 2.0 Problem
10,000.00 9,800.00 3.8 OK
3,000.00 3,100.00 2 overspent

Please help! Thank you.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default If function

Thanks Dave. This is what I did, however it seems it did not work. Here is
the formula. Please advise. thanks

IF(B4A4,"overspent",IF(AND(B4<A4,C4,"ok",),"probl em"))


A B C
Budget Balance Month left
2,000.00 10.00 2
10,000.00 9,800.00 3.8
3,000.00 3,100.00 2



"Dave F" wrote:

IF(BalanceBudget,"overspent",if(and(balance<budge t,months
left=3.8),"OK",),"problem"))

Dave
--
Brevity is the soul of wit.


"momotaro" wrote:

I need to set up formula and I need help! For example,

1. If balance $$$ is more than budget $$$, it will show overspent as a
comment
2. If balance $$$ is less than budget and there are 3.8 months to spent the
budget, it will show OK
3. If balance $$$ is too close to the budget, it will show Problem,
because balance is too small and there are 2 more months left.

Budget Balance Month left Comment

2,000.00 10.00 2.0 Problem
10,000.00 9,800.00 3.8 OK
3,000.00 3,100.00 2 overspent

Please help! Thank you.

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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 11:19 PM.

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"