Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do I write a formula to obtain information from another spread

I have a spreadsheet that contains 6 different worksheets. In the first
worksheet, in the first column, I have the client's last name. In another
column I have the sales representative's name.

In the subsequent worksheets, I would like to link the same salesperson to
the client. Not all of the worksheets contain the same information and all
the worksheets contains lists that I use to sort by.

When I wrote a function, it referenced the cell name rather than the clients
name (contents of the cell). Is there a way to reference the clients name,
link it to the sales person in the subsequent worksheets?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I write a formula to obtain information from another spread

Is there a way to reference the clients name,
link it to the sales person in the subsequent worksheets?


If its a unique client - sales rep mapping (1 to 1), then no problem.
A standard index n match should work fine

Assume in Sheet1,
in A2:B2 down you have the client - sales rep mapping

Then in another sheet,
Assume sales reps are listed in A2 down
Put this in B2: =INDEX(Sheet1!A:A,MATCH(A2,Sheet1!B:B,0))
Copy B2 down to return the clients mapped to the sales reps

Perhaps better with an error trap to return neater looking blanks for any
unmatched cases, you could use in B2, copied down:
=IF(ISNA(MATCH(A2,Sheet1!B:B,0)),"",INDEX(Sheet1!A :A,MATCH(A2,Sheet1!B:B,0)))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:363 Subscribers:64
xdemechanik
---
"sue_b2000" wrote:
I have a spreadsheet that contains 6 different worksheets. In the first
worksheet, in the first column, I have the client's last name. In another
column I have the sales representative's name.

In the subsequent worksheets, I would like to link the same salesperson to
the client. Not all of the worksheets contain the same information and all
the worksheets contains lists that I use to sort by.

When I wrote a function, it referenced the cell name rather than the clients
name (contents of the cell). Is there a way to reference the clients name,
link it to the sales person in the subsequent worksheets?

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
How do I obtain cell information (column/row) from data marker? SHuelin Charts and Charting in Excel 0 June 20th 07 12:59 AM
how do i enter a bull call spread into the options spread sheet ? alvin smith Excel Worksheet Functions 0 November 27th 06 01:23 AM
how do i write a function to display a list of information steph Excel Worksheet Functions 2 August 24th 06 10:46 PM
formula to obtain difference between two dates. Onkar Raut Excel Worksheet Functions 2 June 19th 06 08:36 AM
highlight cells to obtain total without using formula? rdavia Excel Discussion (Misc queries) 2 January 18th 05 05:29 PM


All times are GMT +1. The time now is 05:20 PM.

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"