473,385 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

compile data from 2 worksheets or tables?

I have data currently stored in an excel worksheet - consists of a record of
customer names with address details, all in seperate columns - in another
worksheet I have a list of customer names (no addresses) and a record of
bookings made by the customers, again in seperate columns - I need to
compile a list of customers and addresses but only for those customers who
have a current booking - any suggestions? Is it possible to do that in excel
or does it need to be done in access - if access then how would I do it?

TIA
Jun 11 '07 #1
4 5128
On Jun 11, 12:47 pm, "mike14" <mik...@abc.comwrote:
I have data currently stored in an excel worksheet - consists of a record of
customer names with address details, all in seperate columns - in another
worksheet I have a list of customer names (no addresses) and a record of
bookings made by the customers, again in seperate columns - I need to
compile a list of customers and addresses but only for those customers who
have a current booking - any suggestions? Is it possible to do that in excel
or does it need to be done in access - if access then how would I do it?

TIA
VLOOKUP

Jun 11 '07 #2

"DavidB" <je***@yahoo.comwrote in message
news:11*********************@q75g2000hsh.googlegro ups.com...
On Jun 11, 12:47 pm, "mike14" <mik...@abc.comwrote:
>I have data currently stored in an excel worksheet - consists of a record
of
customer names with address details, all in seperate columns - in another
worksheet I have a list of customer names (no addresses) and a record of
bookings made by the customers, again in seperate columns - I need to
compile a list of customers and addresses but only for those customers
who
have a current booking - any suggestions? Is it possible to do that in
excel
or does it need to be done in access - if access then how would I do it?

TIA

VLOOKUP

Thanks - I have *very* basic knowledge of VLOOKUP - could you give me an
idea of the formula?
Jun 11 '07 #3
On Jun 11, 2:27 pm, "mike14" <mik...@abc.comwrote:
"DavidB" <j...@yahoo.comwrote in message

news:11*********************@q75g2000hsh.googlegro ups.com...


On Jun 11, 12:47 pm, "mike14" <mik...@abc.comwrote:
I have data currently stored in an excel worksheet - consists of a record
of
customer names with address details, all in seperate columns - in another
worksheet I have a list of customer names (no addresses) and a record of
bookings made by the customers, again in seperate columns - I need to
compile a list of customers and addresses but only for those customers
who
have a current booking - any suggestions? Is it possible to do that in
excel
or does it need to be done in access - if access then how would I do it?
TIA
VLOOKUP

Thanks - I have *very* basic knowledge of VLOOKUP - could you give me an
idea of the formula?- Hide quoted text -

- Show quoted text -
The short answer is that it is described fully in the help built into
excel.

The more detail answer is that you look up a value in a range and
return a second value on the matching data.

use whichever of these two worksheets is your primary sheet as the
value you are looking up. In other words put you VLOOKUP in that
sheet. Look up on the value that you want to match against in the
other worksheet, probably customer name/address sheet. Be aware that
extraneous blank spaces will cause a non-match. So that "HELLO" <>
"HELLO ". Hint, use TRIM() to clean up the data if needed.

Use the other worksheet, bookings, as the lookup range. Put the
customer name in column A and SORT ON THAT COLUMN!

read trhe help file to understand how to deal with rows in the master
worksheet that do not have a match in the look up sheet!

Jun 11 '07 #4

"DavidB" <je***@yahoo.comwrote in message
news:11**********************@p47g2000hsd.googlegr oups.com...
On Jun 11, 2:27 pm, "mike14" <mik...@abc.comwrote:
>"DavidB" <j...@yahoo.comwrote in message

news:11*********************@q75g2000hsh.googlegr oups.com...


On Jun 11, 12:47 pm, "mike14" <mik...@abc.comwrote:
I have data currently stored in an excel worksheet - consists of a
record
of
customer names with address details, all in seperate columns - in
another
worksheet I have a list of customer names (no addresses) and a record
of
bookings made by the customers, again in seperate columns - I need to
compile a list of customers and addresses but only for those customers
who
have a current booking - any suggestions? Is it possible to do that in
excel
or does it need to be done in access - if access then how would I do
it?
>TIA
VLOOKUP

Thanks - I have *very* basic knowledge of VLOOKUP - could you give me an
idea of the formula?- Hide quoted text -

- Show quoted text -

The short answer is that it is described fully in the help built into
excel.

The more detail answer is that you look up a value in a range and
return a second value on the matching data.

use whichever of these two worksheets is your primary sheet as the
value you are looking up. In other words put you VLOOKUP in that
sheet. Look up on the value that you want to match against in the
other worksheet, probably customer name/address sheet. Be aware that
extraneous blank spaces will cause a non-match. So that "HELLO" <>
"HELLO ". Hint, use TRIM() to clean up the data if needed.

Use the other worksheet, bookings, as the lookup range. Put the
customer name in column A and SORT ON THAT COLUMN!

read trhe help file to understand how to deal with rows in the master
worksheet that do not have a match in the look up sheet!

thanks
mike14
Jun 12 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
2
by: PrinStation | last post by:
I am looking to import data from Excel to Access. The data is set up in one Excel file, but on 12 (monthly) sheets. After importing the first month/sheet (which I did successfully), I was looking...
0
by: Mamatha | last post by:
Hi When i clicked a button, i want to insert data from listview in VB.NET to Excel sheet. If you know the solution either above or below is ok for me. I know how to insert from a textfile,but...
6
by: syvman | last post by:
Hi everyone... I am pulling my hair out trying to do this, and was wondering if someone could give me some assistance... I have an Excel spreadsheet containing several worksheets. I'd like to be...
7
by: Vanessa | last post by:
hi Everyone, I have two questions on exporting data to Excel using ASP (w/o converting formatted excel file into web page and then plug in the dynamic data): 1. Can we export data into...
3
by: byeung | last post by:
Hi, I am trying to check if a particular record already exists in an Access database through Excel vba code. Through code obtained at another forum, I got the following: ...
2
by: hal | last post by:
Hello all, I've been searching all day for an article or tutorial on how to get data from a SQL Server 2000 database and export the data to excel 2003 so that multiple worksheets are created,...
0
by: mix01 | last post by:
Hi, I am trying to get some VBA code working, but am preplex as to why it does not work. I would really appreciate any level of help. Many thanks, Mix01 Version of the program
2
by: gskrishnan | last post by:
I want the form to be the user interface. The data which the user will use will have to be displayed. The data is stored in the Excel worksheets (four different worksheets in the same workbook). ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.