Lookup/ Partial Match

saenzj

New Member
Joined
Mar 14, 2017
Messages
3
Hello, I am trying to create an aging table for receivables. I have a report that gives me all the detail of what is outstanding but I want to convert the data into 5 buckets. The report gives me the name of the individual, amount, and what term it was from.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Balance
[/TD]
[TD]Term Description
[/TD]
[/TR]
[TR]
[TD]xxxx
[/TD]
[TD]17,375
[/TD]
[TD]2018 Summer Term
[/TD]
[/TR]
</tbody>[/TABLE]

I created a reference table to give me the month of the term.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Term
[/TD]
[TD]Month
[/TD]
[/TR]
[TR]
[TD]Fall Term
[/TD]
[TD]9
[/TD]
[/TR]
[TR]
[TD]Spring Term
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Summer Term
[/TD]
[TD]6
[/TD]
[/TR]
</tbody>[/TABLE]

My plan was to combine a if statement, isnumber, & search to search the term description and look for it in the reference table. Then I wanted it to return the Month number from the reference table. I was then going to add "&"/"&MID(Term Discription,1,4)". My goal was to return the value of 6/2018 but I can't get it to work. Any tips on a formula that I can use to accomplish this?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Since there are no cell references where all this information is, I will make it up.
Lets say that the report is in A11:C12.
Then lets say that the place that you want the formula that will give the results is in D12.
Then lets say that the reference Table is in L3:M6.
So try putting this formula in D12;

=VLOOKUP(RIGHT(C12,LEN(C12)-5),$L$3:$M$6,2,0)&"/"&LEFT(C12,4)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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