Conditional Vlookup, or may be some other formula

Hrishi

Board Regular
Joined
Jan 25, 2017
Messages
56
Office Version
  1. 365
Platform
  1. Windows
Hello, I have 2 tables with me. TABLE A has 3 columns, column 1 has document number which is unique number, this document may have multiple revisions, with different amount which I will keep adding in future as well. This amount is budget for me.
Doc number
Revision number
Amount
RF01
0
10
RF01
1
15
RF02
0
50
RF02
1
100
RF02
2
150
RF01
2
500
RF03
0
300

<tbody>
</tbody>

Now there is another table TABLE B where I want this data to be imported.
Doc Number
Budget (This value should be of latest revision.)
RF01
500
RF03
300
RF02
150
RF01
500

<tbody>
</tbody>

Now as the document numbers will keep on addition in table A as well as Table B, I want formula in Budget column of table B that look for concern document number in first column, then it will check latest revision available and accordingly fetch the respective budget from Table A to Table B.
 
I read all descriptions twice
Honestly I don't know what do you want from me?
there are formulas - I don't work with formulas I changed only your IFS to =--CHOOSE(MATCH(LEN(C6),{2,3},0),RIGHT(C6,1),RIGHT(C6,2)) to be compatible with older version of Excel
I can't see the result (what do you want to achieve)

so due to above - I can't help
PowerQuery works with columns and content (data) not with calculated formulas. formula doesn't exist for PQ - result of formula - exist
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,215,680
Messages
6,126,188
Members
449,296
Latest member
tinneytwin

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