Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
pugsly8422
 
Posts: n/a
Default Using one number to refrence another

I have 2 lists and now thanks to help on here I can refrence the list the way
I need to, now I've realized I need to be able to put in one number and get a
totally different one. Here is the example

1 10
2 17
3 23
4 31
5 34

The numbers are in seperate columns. One of the numbers on the left will be
entered and I need it to come back with the corresponding number on the right.

Thanks again for your help.
  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

If the data area is in ascending order on its first column as it looks
from your sample...

=LOOKUP(E2,$A$2:$A$6,$B$2:$B$6)

=VLOOKUP(E2,$A$2:$B$6,2,1)

If the data area is not sorted...

=VLOOKUP(E2,$A$2:$B$6,2,0)

pugsly8422 wrote:
I have 2 lists and now thanks to help on here I can refrence the list the way
I need to, now I've realized I need to be able to put in one number and get a
totally different one. Here is the example

1 10
2 17
3 23
4 31
5 34

The numbers are in seperate columns. One of the numbers on the left will be
entered and I need it to come back with the corresponding number on the right.

Thanks again for your help.

  #3   Report Post  
pugsly8422
 
Posts: n/a
Default

I also wanted to add that I would use the IF function, but since there are 99
different numbers and they go up to 10 digits each. I'm hoping there is a
faster and/or easier way.

"pugsly8422" wrote:

I have 2 lists and now thanks to help on here I can refrence the list the way
I need to, now I've realized I need to be able to put in one number and get a
totally different one. Here is the example

1 10
2 17
3 23
4 31
5 34

The numbers are in seperate columns. One of the numbers on the left will be
entered and I need it to come back with the corresponding number on the right.

Thanks again for your help.

  #4   Report Post  
pugsly8422
 
Posts: n/a
Default

Thank you for your help, I can finally finish this worksheet. I really
appreicate it.

"Aladin Akyurek" wrote:

If the data area is in ascending order on its first column as it looks
from your sample...

=LOOKUP(E2,$A$2:$A$6,$B$2:$B$6)

=VLOOKUP(E2,$A$2:$B$6,2,1)

If the data area is not sorted...

=VLOOKUP(E2,$A$2:$B$6,2,0)

pugsly8422 wrote:
I have 2 lists and now thanks to help on here I can refrence the list the way
I need to, now I've realized I need to be able to put in one number and get a
totally different one. Here is the example

1 10
2 17
3 23
4 31
5 34

The numbers are in seperate columns. One of the numbers on the left will be
entered and I need it to come back with the corresponding number on the right.

Thanks again for your help.


  #5   Report Post  
Myrna Larson
 
Posts: n/a
Default

VLOOKUP doesn't impose any restrictions on the number of items in the list or
the size/length of those numbers.

On Mon, 3 Jan 2005 10:41:02 -0800, "pugsly8422"
wrote:

I also wanted to add that I would use the IF function, but since there are 99
different numbers and they go up to 10 digits each. I'm hoping there is a
faster and/or easier way.

"pugsly8422" wrote:

I have 2 lists and now thanks to help on here I can refrence the list the

way
I need to, now I've realized I need to be able to put in one number and get

a
totally different one. Here is the example

1 10
2 17
3 23
4 31
5 34

The numbers are in seperate columns. One of the numbers on the left will

be
entered and I need it to come back with the corresponding number on the

right.

Thanks again for your 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
Seed numbers for random number generation, uniform distribution darebo Excel Discussion (Misc queries) 3 April 21st 23 09:02 PM
How to format a number in Indian style in Excel? Victor_alb Excel Discussion (Misc queries) 2 December 21st 04 04:21 AM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
multiply by actual number in cell CJ Cerezo Excel Worksheet Functions 3 November 29th 04 09:43 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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