Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Lookup & Match

I was trying to match up 2 set of data

one set have Point Nos(a1) & Proposed Elevations(b1)
other set have Point Nos (h1) & Measured Elevations(J1)
a1 & h1 are same Point Nos but not all of them.
I try to write a formula {if (a1=h1), put j1 to c1}
thats is the basic idea than i can check the relationship between proposed
and measured.

other thing is that sorting command is not working properly
its goes like 10,1011,1012......9,90,980 sort of like that,It didnt work
like 9,10,90,980,1011,1012


any ideas will be welcomed.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Lookup & Match

In cell C1:
=IF(A1=B1,J1,"")

As for sorting: what you are seeing is an alphabetic sort on the numbers, so
"10" comes before "2" (because "1"__ comes before "2"__)
Change them to numeric format to sort numerically.
--
- K Dales


"amharan" wrote:

I was trying to match up 2 set of data

one set have Point Nos(a1) & Proposed Elevations(b1)
other set have Point Nos (h1) & Measured Elevations(J1)
a1 & h1 are same Point Nos but not all of them.
I try to write a formula {if (a1=h1), put j1 to c1}
thats is the basic idea than i can check the relationship between proposed
and measured.

other thing is that sorting command is not working properly
its goes like 10,1011,1012......9,90,980 sort of like that,It didnt work
like 9,10,90,980,1011,1012


any ideas will be welcomed.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Lookup & Match

let me clarify something I have almost 1500 nos to match and I already have
about 900 points, so its not always A1=B1, beacuse A1 could be anywhere in
the B column, in that I case I cant put a1 =b1, I want to lookup that column
and match it so it will select the appropriate data.

Thanks

"K Dales" wrote:

In cell C1:
=IF(A1=B1,J1,"")

As for sorting: what you are seeing is an alphabetic sort on the numbers, so
"10" comes before "2" (because "1"__ comes before "2"__)
Change them to numeric format to sort numerically.
--
- K Dales


"amharan" wrote:

I was trying to match up 2 set of data

one set have Point Nos(a1) & Proposed Elevations(b1)
other set have Point Nos (h1) & Measured Elevations(J1)
a1 & h1 are same Point Nos but not all of them.
I try to write a formula {if (a1=h1), put j1 to c1}
thats is the basic idea than i can check the relationship between proposed
and measured.

other thing is that sorting command is not working properly
its goes like 10,1011,1012......9,90,980 sort of like that,It didnt work
like 9,10,90,980,1011,1012


any ideas will be welcomed.


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
Lookup Formula: Return 1st match, then 2nd match, then 3rd match Scott Excel Discussion (Misc queries) 4 December 11th 09 05:50 AM
using MATCH, and LOOKUP harvey1649 Excel Worksheet Functions 9 May 7th 07 07:05 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Lookup Match LookupTroubles Excel Worksheet Functions 1 June 22nd 05 05:12 PM
MATCH, LOOKUP, or ??? Ed[_9_] Excel Programming 2 July 10th 03 04:41 PM


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