#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default IF statement or

I have a colum (say A) which has values, what I want in Colum B is depending
on the value in Column A assign a value in column B

The range for column A is
£0.99-£9.99
£10-£14.99
£15-£24.99
£25-£49.99
£50-£99.99
£100-£249
£250+

so, if column A is within 0.99 and 9.99 then Column B = 1.
and so on..
any help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 340
Default IF statement or

=MATCH(A2,{0.99,10,15,25,50,100,250})

flow23 wrote:

I have a colum (say A) which has values, what I want in Colum B is depending
on the value in Column A assign a value in column B

The range for column A is
£0.99-£9.99
£10-£14.99
£15-£24.99
£25-£49.99
£50-£99.99
£100-£249
£250+

so, if column A is within 0.99 and 9.99 then Column B = 1.
and so on..
any help


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default IF statement or

You want the general form:

=IF(AND(A1=.99,A1<=9.99),1,IF(AND(A1=10,A1<=14.9 9),2,IF(....))


Dave

--
Brevity is the soul of wit.


"flow23" wrote:

I have a colum (say A) which has values, what I want in Colum B is depending
on the value in Column A assign a value in column B

The range for column A is
£0.99-£9.99
£10-£14.99
£15-£24.99
£25-£49.99
£50-£99.99
£100-£249
£250+

so, if column A is within 0.99 and 9.99 then Column B = 1.
and so on..
any help

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
Question using dates in a statement Wink20TCU Excel Discussion (Misc queries) 2 January 3rd 07 03:33 PM
SQL concatenation statement CLamar Excel Discussion (Misc queries) 0 June 29th 06 01:58 PM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


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