#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 148
Default True/False

I would like to set up a true/false formula. Here is what I am wanting to do:

If I the number 60 in G2 cell (miles) and want to use that to get a total in
E5 (using G2 * 3.00) = 180.00. How do I keep my total to be a minimum of
180.00 even if the mileage is 30. But if my mileage is 80, I would like it
to increase to 240.00.

Thank You!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default True/False

=IF(G2*3<180,180,G2*3)
--
Mike Q.


"Heather" wrote:

I would like to set up a true/false formula. Here is what I am wanting to do:

If I the number 60 in G2 cell (miles) and want to use that to get a total in
E5 (using G2 * 3.00) = 180.00. How do I keep my total to be a minimum of
180.00 even if the mileage is 30. But if my mileage is 80, I would like it
to increase to 240.00.

Thank You!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default True/False

=if(G2=0,0,Max(180,G2*3))

--
Regards,
Tom Ogilvy


"Heather" wrote:

I would like to set up a true/false formula. Here is what I am wanting to do:

If I the number 60 in G2 cell (miles) and want to use that to get a total in
E5 (using G2 * 3.00) = 180.00. How do I keep my total to be a minimum of
180.00 even if the mileage is 30. But if my mileage is 80, I would like it
to increase to 240.00.

Thank You!!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default True/False


Heather wrote:
I would like to set up a true/false formula. Here is what I am wanting to do:

If I the number 60 in G2 cell (miles) and want to use that to get a total in
E5 (using G2 * 3.00) = 180.00. How do I keep my total to be a minimum of
180.00 even if the mileage is 30. But if my mileage is 80, I would like it
to increase to 240.00.

Thank You!!


=IF(G2<60,"180",G2*3)

Hope this helps.

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
What's the best way to toggle between true and false in Excel? Hiall, My excel work involves a lot of toggling between true and false (booleantypes) ... and it's very repetitive... Is there a way to select a bunch ofcells, and press a key short-cu LunaMoon Excel Discussion (Misc queries) 9 July 29th 08 12:28 AM
Search for 2 true arguments and return true or false David Excel Discussion (Misc queries) 3 July 15th 06 10:18 AM
Function to return True/False if all are validated as True by ISNU Tetsuya Oguma Excel Worksheet Functions 2 March 15th 06 10:28 AM
Reverse false and combine with true true value Emmie99 Excel Worksheet Functions 5 August 17th 05 04:38 PM
True Or False, no matter what... it still displays the false statement rocky640[_2_] Excel Programming 2 May 13th 04 04:57 PM


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