Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default How do I write this formula

How do I write this formula

If b4 is between 91000 and 99000 then say ship if b4 is between 125000 and
137000 say dont ship if b4 is between 146000 and 160000 say beater any other
number say no good?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,069
Default How do I write this formula

try =IF(AND(B491000,B4<99000),"ship",IF(AND(B4125000 ,B4<137000),"don't
ship",IF(AND(B4146000,B4<160000),"beater","no good")))
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"billy boy" wrote:

How do I write this formula

If b4 is between 91000 and 99000 then say ship if b4 is between 125000 and
137000 say dont ship if b4 is between 146000 and 160000 say beater any other
number say no good?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How do I write this formula

One way

=VLOOKUP(B4,{0,"No Good";91000,"Ship";99001,"No Good";125000,"Don't
Ship";137001,"No Good";146000,"Beater";160001,"No Good"},2)


if you don't want 99000 to be included in hip category change it from 99001
to 99000, do the same for the other number ranges

Regards,

Peo Sjoblom
"billy boy" wrote in message
...
How do I write this formula

If b4 is between 91000 and 99000 then say ship if b4 is between 125000
and
137000 say dont ship if b4 is between 146000 and 160000 say beater any
other
number say no good?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default How do I write this formula

Try this:

=IF(AND(B491000,B4<99000),"ship",IF(AND(B4125000 ,B4<137000),"don't
ship",IF(AND(B4146000,B4<160000),"beater","no good")))

HTH,
Elkar



"billy boy" wrote:

How do I write this formula

If b4 is between 91000 and 99000 then say ship if b4 is between 125000 and
137000 say dont ship if b4 is between 146000 and 160000 say beater any other
number say no good?

Thanks

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
How to I 'write-through' a formula ICTag New Users to Excel 4 June 12th 06 09:17 PM
What is the best way to Write this Formula zmr325 Excel Discussion (Misc queries) 1 November 29th 05 10:43 AM
how do I write this formula? djarcadian Excel Discussion (Misc queries) 4 September 13th 05 05:58 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
how do I write a formula for? Terry Excel Discussion (Misc queries) 2 February 2nd 05 12:19 AM


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