#1   Report Post  
Posted to microsoft.public.excel.misc
j j is offline
external usenet poster
 
Posts: 2
Default Impossible Task?

copy the formaula below in Cell B1
=IF(A1=1,6,IF(A1=2,5,IF(A1=3,4,IF(A1=4,3,0.5))))
and drag to copy it to the rest...
Allllen wrote:
Get yourself a new sheet with 2 columns

Sheet2
ColA ColB
From To
1 6
2 5
3 4
4 3
etc

Then use this

Sheet1
ColA ColB
1 =VLOOKUP(A1,Sheet2!A:B,2,0)
2 =VLOOKUP(A2,Sheet2!A:B,2,0)
3 etc
--
Allllen


"Saxman" wrote:

Basically, I would like to convert some numbers.

I would always like to convert:-

1 to 6
2 to 5
3 to 4
4 to 3
else = 0.5


If I had the following numbers displayed in cells A1:A10

1
2
3
4
5
6
7
8
9
10

How could I get them displayed as:-

6
5
4
3
0.5
0.5
0.5
0.5
0.5
0.5

in cells B2:B10?

They would not normally be in numerical order as above.

Would I require a LOOKUP?

TIA


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 do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
change from copy & paste task pane (yuk) to c&p little box Christie Excel Discussion (Misc queries) 0 October 27th 05 01:39 PM
I check "windows in task bar", after restarting, it is no longer c excelsolutionsyorkshire Excel Discussion (Misc queries) 2 September 21st 05 07:31 PM
Seemingly impossible task fluffy Excel Discussion (Misc queries) 2 September 16th 05 05:52 PM
loop trough e-mail address list to send task lists with outlook Paul. Excel Discussion (Misc queries) 2 April 14th 05 11:48 AM


All times are GMT +1. The time now is 03:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"