Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dave S.
 
Posts: n/a
Default Entered text value equals a number I specify in another cell

I am creating a mileage chart in which I would like to enter the locations
driven to as text in one cell. In the adjacent cell I woul d like the actual
miles of driving to automactically appear. I would then have the miles
totaled at the bottom of the miles column. I have all the possible driving
destinations and the mileage of each one, but do not know how to have the
mileage automatically entered in an adjacent cell. Thanks for any help or
ideas. Dave
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Say your destination and mileage were in Sheet2, columns A & B.

Then if you enter your destination in Sheet1, column A, you can retrieve
the mileage with


B2: =VLOOKUP(A2, Sheet1!A:B, 2, FALSE)

In article ,
"Dave S." wrote:

I am creating a mileage chart in which I would like to enter the locations
driven to as text in one cell. In the adjacent cell I woul d like the actual
miles of driving to automactically appear. I would then have the miles
totaled at the bottom of the miles column. I have all the possible driving
destinations and the mileage of each one, but do not know how to have the
mileage automatically entered in an adjacent cell. Thanks for any help or
ideas. Dave

  #3   Report Post  
Dave S.
 
Posts: n/a
Default

Thanks, JE, but I must be doing something wrong. I have entered the
destination A1 sheet 2 and entered the mileage in B1 sheet 2. I then enter
the destination in A1 sheet 1 and your formula in cell B1 sheet 1. The
result in B1 Sheet 1 is #N/A.

"JE McGimpsey" wrote:

Say your destination and mileage were in Sheet2, columns A & B.

Then if you enter your destination in Sheet1, column A, you can retrieve
the mileage with


B2: =VLOOKUP(A2, Sheet1!A:B, 2, FALSE)

In article ,
"Dave S." wrote:

I am creating a mileage chart in which I would like to enter the locations
driven to as text in one cell. In the adjacent cell I woul d like the actual
miles of driving to automactically appear. I would then have the miles
totaled at the bottom of the miles column. I have all the possible driving
destinations and the mileage of each one, but do not know how to have the
mileage automatically entered in an adjacent cell. Thanks for any help or
ideas. Dave


  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Try

=VLOOKUP(A1, Sheet2!A:B), 2, FALSE)






--
Regards,

Peo Sjoblom

(No private emails please)


"Dave S." wrote in message
...
Thanks, JE, but I must be doing something wrong. I have entered the
destination A1 sheet 2 and entered the mileage in B1 sheet 2. I then
enter
the destination in A1 sheet 1 and your formula in cell B1 sheet 1. The
result in B1 Sheet 1 is #N/A.

"JE McGimpsey" wrote:

Say your destination and mileage were in Sheet2, columns A & B.

Then if you enter your destination in Sheet1, column A, you can retrieve
the mileage with


B2: =VLOOKUP(A2, Sheet1!A:B, 2, FALSE)

In article ,
"Dave S." wrote:

I am creating a mileage chart in which I would like to enter the
locations
driven to as text in one cell. In the adjacent cell I woul d like the
actual
miles of driving to automactically appear. I would then have the miles
totaled at the bottom of the miles column. I have all the possible
driving
destinations and the mileage of each one, but do not know how to have
the
mileage automatically entered in an adjacent cell. Thanks for any help
or
ideas. Dave



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
Change Text to a number jennifer Excel Worksheet Functions 1 April 27th 05 08:47 PM
16 digit number wont keep alteration unless format cell to text Croc001 Excel Discussion (Misc queries) 3 March 30th 05 09:12 AM
Format number as text on import Ron Swinehart Excel Discussion (Misc queries) 3 March 4th 05 10:59 PM
Sort or Filter option? Mcobra41 Excel Worksheet Functions 3 February 23rd 05 07:22 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM


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