Adding new row using existing data - Tables

jumboseated

New Member
Joined
Jan 5, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,

Happy new year!

I'm hoping someone can point me in the right direction with what I am trying to achieve below

I have 2 tables. One called quotes and one called projects.

Quotes table headers:
Date
QUOTE NO.
Description
Company
Employee

Projects table headers:
Date quoted
Date Started
Project No.
QUOTE NO.
Description
Company
Employee

When I quote a job I add it to the quotes table each with their own unique quote no. and when I carry out a job I will add it to the projects table with a unique project number but an existing quote number. What I want to do it is... in the projects table, add a new project number, then from a pull down list, select the quote number from the quotes table and auto fill the description, company and employee based on the info from the quotes table.

I have looked into VLOOKUP but this seems to be more for reporting than data entry. (Im probably wrong there) Im not looking for the exact code or anything just a point in the right direction. Thanks Very much
 
Last edited by a moderator:

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Welcome to the Board!

I think you should be able to use VLOOKUP to populate the other columns once you select your quote number.
You would just have a VLOOKUP formula in each column, matching on the quote number and returning the desired field value from your Quote table.

See here for more details: MS Excel: How to use the VLOOKUP Function (WS)
 
Upvote 0
Hi Joe4

Thanks very much this is exactly what i want. I was looking without seeing!

=VLOOKUP([@Qno],tableQuotes,3,FALSE) works great​


is it the case that this will work if the Qno is it the left colum or is there a work around for this as I would prefer Qno to be the second column?

Thanks again
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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