Vlookup but with a twisy required solution

ranjanagarwal

New Member
Joined
Jul 12, 2015
Messages
13
Data on sheet One that needs to be copied to sheet two without using copy paste.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Exp[/TD]
[TD]July15[/TD]
[/TR]
[TR]
[TD]
Books
[/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]
Goods
[/TD]
[TD]2000[/TD]
[/TR]
[TR]
[TD]
Taxi
[/TD]
[TD]8000[/TD]
[/TR]
[TR]
[TD]
Milk
[/TD]
[TD]1000[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 500"]
<tbody>[TR]
[TD]Revenue[/TD]
[TD]July15[/TD]
[/TR]
[TR]
[TD]
Books
[/TD]
[TD]2000[/TD]
[/TR]
[TR]
[TD]
Goods
[/TD]
[TD]9000[/TD]
[/TR]
[TR]
[TD]
Taxi
[/TD]
[TD]12000[/TD]
[/TR]
[TR]
[TD]
Milk
[/TD]
[TD]500[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 500"]
<tbody>[TR]
[TD]Exp[/TD]
[TD]July15[/TD]
[/TR]
[TR]
[TD]
Books
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Goods
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Taxi
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Milk
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="width: 500"]
<tbody>[TR]
[TD]Revenue[/TD]
[TD]July15[/TD]
[/TR]
[TR]
[TD]
Books
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Goods
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Taxi
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Milk
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Is there a way other than copy and paste the data to get the data from Sheet 1 to Sheet 2?

I tried this but did not work

=IF((CONCATENATE(B193,B194=CONCATENATE('[xyz.xlsx]Expense YTD'!$A$30,'[xyz.xlsx]Expense YTD'!$A$31))),(VLOOKUP(B194,'[xyz.xlsx]Expense YTD'!$A$30:$N$46,3,FALSE)),"")

What I was trying to is to concatenate Exp and Book and look for the same concatenation in Sheet 2 and return a value that matches the vlookup criteria.


Thanks in advance for looking into this problem.
 
Last edited:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,223,101
Messages
6,170,116
Members
452,302
Latest member
TaMere

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top