Creating Formula to Match Old Account Structure with New Account Structure

johncw12

New Member
Joined
Apr 27, 2016
Messages
1
Hey all,
I'm attempting to create a formula that will automatically search and paste the new account structure with the old.

In short, the "location" in the new structure is different from the "location" in the old structure. The new location is determined by the old location account number and the department number. For example, Loc 100 and Dept 220 would equal Loc 110 in the new structure.

I could concatenate the two old columns and then create a gigantic IF function but I can only have 64 nested. Is there anyway around this? There's basically 297 Loc and Dept combinations but only a handful of new Locs in the new structure. For example, Loc 100 and Dept 820 would also equal Loc 110.

Any help or ideas would be appreciated,

John
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,099
Messages
6,170,109
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