LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default Run out of nested Ifs

Hi


=CHOOSE(YourNumber,$B:$B)
, where YourNumber is a number or cell reference to one. This formula
assumes, that there is no header row in lookup table. When the 1st row
contains headers, the formula will be
=CHOOSE(YourNumber+1,$B:$B)



--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )


"Clive Williamson" wrote in message
...
Please can someone advise about the following problem.

I have a spreadsheet with 2 columns each with parallel data to which other
cells need to refer eg

1 1.5
2 2.7
3 2.9
4 3.1
5 3.5
6 3.8
7 4.1
8 5.2
9 6.3
10 7.3

I also have a data entry cell where I can enter numbers from 1 to 10, and
a
result cell which needs a formula which automatically returns the data
from
column on the right to match that on the left. To put it simply, if I
enter
a 2 into the data cell I want to see 2.7 in the result cell; if I enter 7,
I
want to see a result of 4.1

I've managed to do this with a complicated set of nested IF calculations,
but these run out at 7 nests, so I can't do this for all 10 sets of data.

Is there a way of doing this?

Thanks

Clive



 
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
Exceeding the limit for Nested IFs Beard Excel Worksheet Functions 5 January 13th 06 06:12 PM
Nested Subtotals in Excel 2002 KG Excel Discussion (Misc queries) 2 September 10th 05 11:51 AM
Why are my nested sub-totals are displaying incorrectly? chiefdean13 Excel Discussion (Misc queries) 1 July 20th 05 05:45 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 10:24 PM.

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"