Using reference data from one table to populate another column/table

thirdeye85

New Member
Joined
Aug 11, 2021
Messages
28
Office Version
  1. 2019
Platform
  1. MacOS
Hi there,

I am curious as to what would be the preferred method to populate data that I would consider reference data from one column (or multiple, perhaps a table even) into another table with again, multiple columns.

For example, this would be used for double entry booking insofar as I am accounting for let's say lettuce [column A],with an account debited [column B], and an accounted credited [column C].

[column A] [column B] [column C]
ITEM Account Debited Account Credited
lettuce Food account Credit Card Account

Currently, I have to input data manually for all of column A, B, and C. If I would be able to make a table that has "reference values" for "lettuce", ie, when lettuce is entered into column A, [column B] should populate with "Food account" and [column C] with "Credit Card Account".

I am familiar with the nested IF functions, however, I would like to avoid a gigantic formula and would rather create a hidden table of sorts where I can quickly update these values without constantly changing the formula.

Any point in the right direction would be appreciated!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hi,

theres probably lots of different ways to do things here, but one suggestion would be to use a "VLOOKUP()" ? VLOOKUP Function

It does need your data to be in the right columns, but I think from what you describe it could do the job for you.

Cheers
Rob
 
Upvote 0
Solution

Forum statistics

Threads
1,223,879
Messages
6,175,147
Members
452,615
Latest member
bogeys2birdies

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