Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default re done Match formula needed

Sorry about the last post , here is an other copy

in sheet R! A D F
1 num time price
2 1 10:25 st 90
3 2 11:00 st 190
4 3 11:35 st 80
5 4 12:00 st 110
6 5 1:00 st 110
7 6 1:20 st 90
8 7 2:15 st 70
9 8 2:55 st 90
10 9 3:40 st 110
11 10 4:20 st 110
12 11 6:00 st 80

in sheet H! A
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

in sheet RC! H
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

all columns down to 2500 rows, all numbers are at random lots

I have a formula in sheet RC! as follows:-
=IF(H!A2=H2,CONCATENATE(MID(R!D2,1,5)," ",R!F2))
This formula gives me in sheet RC! cell J2 10:25 90
J3 11:00 190
J4 11:35 80
J5 12:00 110
J6 1:00 110
J7 1:20 90
and so on

I need to have in cell J2 10:25 90
J3 10:25 90
J4 10:25 90
J5 11:00 190
J6 11:00 190
J7 11:35 80
and so on
Is there any one that can help me please ?

much appreciated


--
bill gras
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default re done Match formula needed

What happened to your previous post?..

Hi Bill

Few points

--Refer help on VLOOKUP()
--Instead of CONCATENATE() you can use the ampersand &
--You can use the LEFT() function if you are looking to extract text from
the beginning of another text

Try the below in Sheet RC cell J2 and copy down as required. If sheet RC H2
match with Sheet H cell A2 then lookup the value in cell H2 and combine the
values from Sheet RC ColD and ColF. Else..If sheet RC H2 do not match with
Sheet H cell A2 then return blank.

=IF(H!A2=H2,LEFT(VLOOKUP(H2,R!A:F,4,0),5) & " " & VLOOKUP(H2,R!A:F,6,0),"")

If you dont want the first condition to be checked then the below will do
which will straight away do the lookup and concatenate .

=LEFT(VLOOKUP(H2,R!A:F,4,0),5) & " " & VLOOKUP(H2,R!A:F,6,0)


If this post helps click Yes
---------------
Jacob Skaria


"bill gras" wrote:

Sorry about the last post , here is an other copy

in sheet R! A D F
1 num time price
2 1 10:25 st 90
3 2 11:00 st 190
4 3 11:35 st 80
5 4 12:00 st 110
6 5 1:00 st 110
7 6 1:20 st 90
8 7 2:15 st 70
9 8 2:55 st 90
10 9 3:40 st 110
11 10 4:20 st 110
12 11 6:00 st 80

in sheet H! A
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

in sheet RC! H
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

all columns down to 2500 rows, all numbers are at random lots

I have a formula in sheet RC! as follows:-
=IF(H!A2=H2,CONCATENATE(MID(R!D2,1,5)," ",R!F2))
This formula gives me in sheet RC! cell J2 10:25 90
J3 11:00 190
J4 11:35 80
J5 12:00 110
J6 1:00 110
J7 1:20 90
and so on

I need to have in cell J2 10:25 90
J3 10:25 90
J4 10:25 90
J5 11:00 190
J6 11:00 190
J7 11:35 80
and so on
Is there any one that can help me please ?

much appreciated


--
bill gras

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 506
Default re done Match formula needed

Paste this formula in Sheet RC J2 Cell

=IF(H!A2=H2,IF(ISNA(TEXT(VLOOKUP(H2,'R'!A:D,4,FALS E),"HH:MM")&"
"&VLOOKUP(H2,'R'!A:F,6,FALSE)),"Lookup Value is not present in
SheetR",TEXT(VLOOKUP(H2,'R'!A:D,4,FALSE),"HH:MM")& "
"&VLOOKUP(H2,'R'!A:F,6,FALSE)),"")

Copy the J2 cell formula and paste it for the remaining cells.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"bill gras" wrote:

Sorry about the last post , here is an other copy

in sheet R! A D F
1 num time price
2 1 10:25 st 90
3 2 11:00 st 190
4 3 11:35 st 80
5 4 12:00 st 110
6 5 1:00 st 110
7 6 1:20 st 90
8 7 2:15 st 70
9 8 2:55 st 90
10 9 3:40 st 110
11 10 4:20 st 110
12 11 6:00 st 80

in sheet H! A
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

in sheet RC! H
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

all columns down to 2500 rows, all numbers are at random lots

I have a formula in sheet RC! as follows:-
=IF(H!A2=H2,CONCATENATE(MID(R!D2,1,5)," ",R!F2))
This formula gives me in sheet RC! cell J2 10:25 90
J3 11:00 190
J4 11:35 80
J5 12:00 110
J6 1:00 110
J7 1:20 90
and so on

I need to have in cell J2 10:25 90
J3 10:25 90
J4 10:25 90
J5 11:00 190
J6 11:00 190
J7 11:35 80
and so on
Is there any one that can help me please ?

much appreciated


--
bill gras

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default re done Match formula needed

Hi Ms-Exl-Learner
Your formula returned a "False" I checked and re-checked
Thanks so far
bill gras


"Ms-Exl-Learner" wrote:

Paste this formula in Sheet RC J2 Cell

=IF(H!A2=H2,IF(ISNA(TEXT(VLOOKUP(H2,'R'!A:D,4,FALS E),"HH:MM")&"
"&VLOOKUP(H2,'R'!A:F,6,FALSE)),"Lookup Value is not present in
SheetR",TEXT(VLOOKUP(H2,'R'!A:D,4,FALSE),"HH:MM")& "
"&VLOOKUP(H2,'R'!A:F,6,FALSE)),"")

Copy the J2 cell formula and paste it for the remaining cells.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"bill gras" wrote:

Sorry about the last post , here is an other copy

in sheet R! A D F
1 num time price
2 1 10:25 st 90
3 2 11:00 st 190
4 3 11:35 st 80
5 4 12:00 st 110
6 5 1:00 st 110
7 6 1:20 st 90
8 7 2:15 st 70
9 8 2:55 st 90
10 9 3:40 st 110
11 10 4:20 st 110
12 11 6:00 st 80

in sheet H! A
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

in sheet RC! H
1 num
2 1
3 1
4 1
5 2
6 2
7 3
8 3
9 3
10 4
11 4
12 4

all columns down to 2500 rows, all numbers are at random lots

I have a formula in sheet RC! as follows:-
=IF(H!A2=H2,CONCATENATE(MID(R!D2,1,5)," ",R!F2))
This formula gives me in sheet RC! cell J2 10:25 90
J3 11:00 190
J4 11:35 80
J5 12:00 110
J6 1:00 110
J7 1:20 90
and so on

I need to have in cell J2 10:25 90
J3 10:25 90
J4 10:25 90
J5 11:00 190
J6 11:00 190
J7 11:35 80
and so on
Is there any one that can help me please ?

much appreciated


--
bill gras

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
match formula needed bill gras Excel Worksheet Functions 2 November 29th 09 06:12 AM
concatenate within an Index/Match formula, or is another approach needed? Harold Good Excel Worksheet Functions 3 February 16th 09 07:16 PM
Match, VLookup possible formula needed Roibn L Taylor Excel Discussion (Misc queries) 7 January 23rd 09 02:33 AM
Complicated lookup/match formula help needed! Jason[_11_] Excel Worksheet Functions 2 March 21st 08 12:39 AM
Formula help needed! lookup/match unsure which bbrant2 Excel Worksheet Functions 0 November 19th 07 09:31 PM


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