#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 97
Default Which formula?

Hi,
I have a spreadsheet with all the clients sales and one of the columns is
the country of the client (which is empty).
On another sheet I have all the contact info with the country.
I need a formula to put the client country from the contact info to the
client sales!
In both sheets I have the client number.

any suggestion?
Thanks,
Barbara
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Which formula?

Let's assume the client # is in column A on both the sheet with the sales and
the contact info sheet. Let's also assume that the country is in column F in
the contact info sheet.

First thing: select all the data on the contract info sheet and name that
range Contacts

In the first row where you want to put the country (let's say it's row 2),
use this formula

=vlookup(a2, Contacts, 6,false)

This function tells Excel to take the client # in cell A2, find it in the
first column of the Contacts range, and bring back the value in the 6th
column of that range. The false argument means you want an error message if
the client# can't be found.



"Barbara" wrote:

Hi,
I have a spreadsheet with all the clients sales and one of the columns is
the country of the client (which is empty).
On another sheet I have all the contact info with the country.
I need a formula to put the client country from the contact info to the
client sales!
In both sheets I have the client number.

any suggestion?
Thanks,
Barbara

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 97
Default Which formula?

Thank you very much. Finally someone explains the function suggested.

Great.

"Duke Carey" escreveu:

Let's assume the client # is in column A on both the sheet with the sales and
the contact info sheet. Let's also assume that the country is in column F in
the contact info sheet.

First thing: select all the data on the contract info sheet and name that
range Contacts

In the first row where you want to put the country (let's say it's row 2),
use this formula

=vlookup(a2, Contacts, 6,false)

This function tells Excel to take the client # in cell A2, find it in the
first column of the Contacts range, and bring back the value in the 6th
column of that range. The false argument means you want an error message if
the client# can't be found.



"Barbara" wrote:

Hi,
I have a spreadsheet with all the clients sales and one of the columns is
the country of the client (which is empty).
On another sheet I have all the contact info with the country.
I need a formula to put the client country from the contact info to the
client sales!
In both sheets I have the client number.

any suggestion?
Thanks,
Barbara

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 09:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"