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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

Forum statistics

Threads
1,213,494
Messages
6,113,988
Members
448,538
Latest member
alex78

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