Help! - Auto Populating

PunkyP7

New Member
Joined
Jul 29, 2015
Messages
2
Hey everyone.

Okay so I have a speadsheet with 8 columns which are:

A - Name of Customer
B - Date of Sale
C - Month of Sale
D - Cost
E - Sell
F - Margin
G - Profit
H - Description

I want to auto populate Column H when I type in the name of the customer in Column A.

In Description I have a list of all items they order so when I put there name in I want it to auto populate column H with that list.

What is the best way to do this?

Thanks in advance
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hey everyone.

Okay so I have a speadsheet with 8 columns which are:

A - Name of Customer
B - Date of Sale
C - Month of Sale
D - Cost
E - Sell
F - Margin
G - Profit
H - Description

I want to auto populate Column H when I type in the name of the customer in Column A.

In Description I have a list of all items they order so when I put there name in I want it to auto populate column H with that list.

What is the best way to do this?

Thanks in advance

Do you want just a full list of what they order (bread and milk and eggs) or a drop down list to choose from (bread or milk or eggs)?
 
Upvote 0
Do you want just a full list of what they order (bread and milk and eggs) or a drop down list to choose from (bread or milk or eggs)?

In Column H, it is just free text of what they order, no dropdowns or anything just a list of stuff separated by comma's if that makes sense?
 
Upvote 0
In Column H, it is just free text of what they order, no dropdowns or anything just a list of stuff separated by comma's if that makes sense?

Ok, this is how I would do it, but there may be more clever ways...

You need a master list of 2 columns. One header being the customer and the other header being the description of whatever you want it to return. Kind of like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Description[/TD]
[/TR]
[TR]
[TD]Dave[/TD]
[TD]Bread, Milk, Eggs[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Bread, Milk[/TD]
[/TR]
</tbody>[/TABLE]


Then put a vlookup formula into your main sheet that will look against this master table. Something like this:

Code:
=IFERROR(VLOOKUP(I8,$N$8:$O$9,2,0),"-")

I'm not too sure how familiar you are with the VLOOKUP function, so say if the formula doesn't make any sense. But this formula will basically return the description you put into the master table when the Customer's name is entered. If there is no Customer or a Customer that is not in your master list it will return a value of "-"
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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