A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Greater/Less Than or Equal To



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2009, 03:54 PM posted to microsoft.public.excel.misc
Hoov
external usenet poster
 
Posts: 19
Default Greater/Less Than or Equal To

I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.
  #2  
Old May 14th, 2009, 04:01 PM posted to microsoft.public.excel.misc
Bob I
external usenet poster
 
Posts: 10,698
Default Greater/Less Than or Equal To


=IF(T1031,13,IF(T10100,12,11))

Hoov wrote:
I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.


  #3  
Old May 14th, 2009, 04:06 PM posted to microsoft.public.excel.misc
CLR
external usenet poster
 
Posts: 1,638
Default Greater/Less Than or Equal To

One way.......

=IF(T1031,13,IF(T10100,12,11))

Vaya con Dios,
Chuck, CABGx3



"Hoov" wrote:

I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.

  #4  
Old May 14th, 2009, 04:10 PM posted to microsoft.public.excel.misc
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default Greater/Less Than or Equal To

Hi

=IF(T10="","",IF(T1099,11,IF(T1030,12,13)))
or, marginally shorter,
=IF(T10="","",11+(T10100)*2+(T1031)*1)

--
Regards
Roger Govier

"Hoov" wrote in message
...
I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.


  #5  
Old May 14th, 2009, 04:41 PM posted to microsoft.public.excel.misc
David Biddulph
external usenet poster
 
Posts: 8,714
Default Greater/Less Than or Equal To

=IF(T10=30, 13, IF(T10=99, 12, 11))
--
David Biddulph

"Hoov" wrote in message
...
I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.



  #6  
Old May 14th, 2009, 05:54 PM posted to microsoft.public.excel.misc
Rick Rothstein[_2_]
external usenet poster
 
Posts: 2,013
Default Greater/Less Than or Equal To

Give this formula a try...

=11+(A1100)+(A131)

--
Rick (MVP - Excel)


"Hoov" wrote in message
...
I have a spreadsheet for work where I need to calculate the price of our
services. If you buy 0-30 items, they are $13 a piece, 31-99 is $12 each,
and 100+ is $11. I need to put a formula into a column that can calculate
this automatically. The cell with the final quantity is T10, so the first
part of the equation should look something like this:

=IF(T1031, 13)

That works for all numbers less than 31, but I need the other two parts
added in there. Please help.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:41 PM.


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