#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default return value

Hi all,

I have a column of data:
column A
0
20
30
40
60
70
90

under following criteria, i want to have column B return certain values:
0 to 30, return 10
40 to 60, return 20
70 to 100, return 30
Is there a formula that can help me to achieve this?

Thank you
--
====================
ask and you shall be answered
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default return value

Try this formula...

=IF(A1<=30,10,IF(A1<=60,20,30))

Rick


"Zhi Sheng" wrote in message
...
Hi all,

I have a column of data:
column A
0
20
30
40
60
70
90

under following criteria, i want to have column B return certain values:
0 to 30, return 10
40 to 60, return 20
70 to 100, return 30
Is there a formula that can help me to achieve this?

Thank you
--
====================
ask and you shall be answered


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
MAX then return value? andrew Excel Discussion (Misc queries) 10 July 11th 08 04:57 AM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
Return Value World of Taz Excel Worksheet Functions 4 September 26th 05 07:26 PM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM


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