Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 05-27-2009, 01:30 AM
elect-ok elect-ok is offline
Registered User
 
Join Date: 27 May 2009
Location: Jakarta, Indonesia
MS Office Version:Excel 2003
Posts: 2
elect-ok is becoming part of the community
Match Value

Please Register to Remove these Ads

Dear All,

I am electrical engineer. Usually i work in field to connect cable.

but this time i "get" work above the desk. there is some formula that i still dont know. I want to know what formula to determine about cable.

but in this case. i give some simple data like below, and then let i develop related to my job by myself.

i have basic data like below :


2 A1
3 A2
4 B1
5 B2
6 B3

and if i have data of calculating like below :

0.1
2.3
2.8
2.9
3.3
3.5
5.1
2.3
3.4
5.9
etc...

how can i determine quickly.

if range
0-2 =A1 and 2=A1
2-3 =A2 and 3=A2
3-4 =B1 and 4=B1
4-5 =B2 and 5=B2
5-6 =B3 and 6=B3

so the result is :

0.1 = A1
2.3 = A2
2.8 = A2
2.9 = A2
3.3 = B1
3.5 = B1
5.1 = B3
2.3 = A2
3.4 = B1
5.9 = B3

thanks...

Last edited by DonkeyOte; 05-27-2009 at 02:35 AM.
Reply With Quote
  #2  
Old 05-27-2009, 02:34 AM
DonkeyOte's Avatar
DonkeyOte DonkeyOte is offline
Forum Guru
 
Join Date: 22 Oct 2008
Location: Suffolk, UK
MS Office Version:2002 & 2007
Posts: 13,667
DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute
Re: ask formula to this one match with which

You could perhaps use LOOKUP

=LOOKUP(A1-0.01,{-0.01,2,3,4,5,6},{"A1","A2","B1","B2","B3"})

Where A1 holds the value.

Going forward please make sure you title your threads as succinctly as possible - given this was your first post I have revised this one for you.

Please also post your question in the relevant forum - I have moved this for you.

In short - read the Forum Rules before posting again.

Last edited by DonkeyOte; 05-27-2009 at 02:36 AM.
Reply With Quote
  #3  
Old 05-29-2009, 02:16 AM
elect-ok elect-ok is offline
Registered User
 
Join Date: 27 May 2009
Location: Jakarta, Indonesia
MS Office Version:Excel 2003
Posts: 2
elect-ok is becoming part of the community
Re: Match Value

thank you donkeyote.

i will try not to make mistake twice.

but i already used our formula, but the result is nothing.

thanks..
Attached Files
File Type: xls file 1st.xls (17.5 KB, 3 views)
Reply With Quote
  #4  
Old 05-29-2009, 02:34 AM
DonkeyOte's Avatar
DonkeyOte DonkeyOte is offline
Forum Guru
 
Join Date: 22 Oct 2008
Location: Suffolk, UK
MS Office Version:2002 & 2007
Posts: 13,667
DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute
Re: Match Value

Revise your file as follows:

F10:F13 should read 0 to 3 (not 1 to 4)

Add to row 14
F14: 4
G14: N/A

Formula in D10 either of:

=IF($C10="","",LOOKUP($C10-0.01,$F$10:$F$14,$G$10:$G$14))

or

=IF($C10="","",VLOOKUP($C10-0.01,$F$10:$G$14,2,TRUE))
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump