Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Look up a value from a row after verifying two other values

I have a spreadsheet that I am populating with miles from point to point.
Each spreadsheet has the same point tp oint listed twice, the second time in
reverse order. I would love to have a formula that looks throught the entire
K Column for the point in the D column and the D column for the point in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another store I
don't want to have to find the row below that has the same two store in
reverse order and populate the miles field with the same information
Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Look up a value from a row after verifying two other values

Have you thought about doing the mileage chart as a 2-D table? Four
stores A to D would be laid out like this:

A B C D
A -
B -
C -
D -

where the vertical list is the "from" store and the horizontal list is
the "to" store. Obviously, the diagonal is meaningless (or all zero).
The top triangle is a mirror image of the bottom triangle, although
you could just have a single triangle, as it doesn't really matter
which is "from" and which is "to". You often get such mileage charts
in road atlases.

Hope this helps.

Pete

On Aug 29, 11:49*pm, Paul W <Paul
wrote:
I have a spreadsheet that I am populating with miles from point to point.
Each spreadsheet has the same point tp oint listed twice, the second time in
reverse order. I would love to have a formula that looks throught the entire
K Column for the point in the D column and the D column for the point in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another store I
don't want to have to find the row below that has the same two store in
reverse order and populate the miles field with the same information
Is this possible?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default Look up a value from a row after verifying two other values

Pete_UK wrote:
Have you thought about doing the mileage chart as a 2-D table? Four
stores A to D would be laid out like this:

A B C D
A -
B -
C -
D -

where the vertical list is the "from" store and the horizontal list is
the "to" store. Obviously, the diagonal is meaningless (or all zero).
The top triangle is a mirror image of the bottom triangle, although
you could just have a single triangle, as it doesn't really matter
which is "from" and which is "to". You often get such mileage charts
in road atlases.

Hope this helps.

Pete

On Aug 29, 11:49 pm, Paul W <Paul
wrote:
I have a spreadsheet that I am populating with miles from point to point.
Each spreadsheet has the same point tp oint listed twice, the second time in
reverse order. I would love to have a formula that looks throught the entire
K Column for the point in the D column and the D column for the point in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another store I
don't want to have to find the row below that has the same two store in
reverse order and populate the miles field with the same information
Is this possible?



Pete,

Good idea!
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Look up a value from a row after verifying two other values

Pete, Thanks for the idea. It is a good one. The problem is, I have to have a
programmer import the file into an AS400 program once I have figured the time
and miles and the 2d won't work for that.
Does anyone using maybe VBA have any ideas?

"smartin" wrote:

Pete_UK wrote:
Have you thought about doing the mileage chart as a 2-D table? Four
stores A to D would be laid out like this:

A B C D
A -
B -
C -
D -

where the vertical list is the "from" store and the horizontal list is
the "to" store. Obviously, the diagonal is meaningless (or all zero).
The top triangle is a mirror image of the bottom triangle, although
you could just have a single triangle, as it doesn't really matter
which is "from" and which is "to". You often get such mileage charts
in road atlases.

Hope this helps.

Pete

On Aug 29, 11:49 pm, Paul W <Paul
wrote:
I have a spreadsheet that I am populating with miles from point to point.
Each spreadsheet has the same point tp oint listed twice, the second time in
reverse order. I would love to have a formula that looks throught the entire
K Column for the point in the D column and the D column for the point in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another store I
don't want to have to find the row below that has the same two store in
reverse order and populate the miles field with the same information
Is this possible?



Pete,

Good idea!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Look up a value from a row after verifying two other values

Can you post a small sample of the data that demonstrates what you're
looking for? From your written description I'm have a hard time visualizing
the setup and what you're trying to do.

--
Biff
Microsoft Excel MVP


"Paul W" wrote in message
...
Pete, Thanks for the idea. It is a good one. The problem is, I have to
have a
programmer import the file into an AS400 program once I have figured the
time
and miles and the 2d won't work for that.
Does anyone using maybe VBA have any ideas?

"smartin" wrote:

Pete_UK wrote:
Have you thought about doing the mileage chart as a 2-D table? Four
stores A to D would be laid out like this:

A B C D
A -
B -
C -
D -

where the vertical list is the "from" store and the horizontal list is
the "to" store. Obviously, the diagonal is meaningless (or all zero).
The top triangle is a mirror image of the bottom triangle, although
you could just have a single triangle, as it doesn't really matter
which is "from" and which is "to". You often get such mileage charts
in road atlases.

Hope this helps.

Pete

On Aug 29, 11:49 pm, Paul W <Paul
wrote:
I have a spreadsheet that I am populating with miles from point to
point.
Each spreadsheet has the same point tp oint listed twice, the second
time in
reverse order. I would love to have a formula that looks throught the
entire
K Column for the point in the D column and the D column for the point
in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another
store I
don't want to have to find the row below that has the same two store
in
reverse order and populate the miles field with the same information
Is this possible?


Pete,

Good idea!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Look up a value from a row after verifying two other values

I will try, The spreadsheet is at work and i am home now.
store address 2nd store address Miles
#1 1 1st st or #2 23 2nd st CA 485
#1 1 1st st or #3 48 a st ca 385
#1 1 1st st or #4 65 r st ca 426
#2 23 2nd st ca #1 1 1st st or This is
the info I need
#2 23 2nd st ca #3 48 a st ca This is
the info I need

"T. Valko" wrote:

Can you post a small sample of the data that demonstrates what you're
looking for? From your written description I'm have a hard time visualizing
the setup and what you're trying to do.

--
Biff
Microsoft Excel MVP


"Paul W" wrote in message
...
Pete, Thanks for the idea. It is a good one. The problem is, I have to
have a
programmer import the file into an AS400 program once I have figured the
time
and miles and the 2d won't work for that.
Does anyone using maybe VBA have any ideas?

"smartin" wrote:

Pete_UK wrote:
Have you thought about doing the mileage chart as a 2-D table? Four
stores A to D would be laid out like this:

A B C D
A -
B -
C -
D -

where the vertical list is the "from" store and the horizontal list is
the "to" store. Obviously, the diagonal is meaningless (or all zero).
The top triangle is a mirror image of the bottom triangle, although
you could just have a single triangle, as it doesn't really matter
which is "from" and which is "to". You often get such mileage charts
in road atlases.

Hope this helps.

Pete

On Aug 29, 11:49 pm, Paul W <Paul
wrote:
I have a spreadsheet that I am populating with miles from point to
point.
Each spreadsheet has the same point tp oint listed twice, the second
time in
reverse order. I would love to have a formula that looks throught the
entire
K Column for the point in the D column and the D column for the point
in the
K column and return the value from the same row in the P column.
Basically once I have looked up the miles from a store to another
store I
don't want to have to find the row below that has the same two store
in
reverse order and populate the miles field with the same information
Is this possible?


Pete,

Good idea!




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
Verifying and moving non matching numbers in columns DRKENNE Excel Worksheet Functions 3 May 25th 08 08:25 AM
Verifying uniqueness of records in data arad Excel Discussion (Misc queries) 4 June 25th 07 05:50 PM
Verifying value of a cell El Criollo Excel Discussion (Misc queries) 7 December 12th 06 10:21 AM
Verifying Email addresses etc using macros [email protected] Excel Discussion (Misc queries) 0 February 13th 06 07:25 PM
Verifying Dates gilbert Excel Worksheet Functions 1 September 8th 05 03:22 AM


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