Linking Data between worksheets within the same workbook

KatrinaJoy

New Member
Joined
Nov 18, 2005
Messages
2
This may be a very basic question for most of your but I need to figure out how to turn this

SELECT a
FROM otherworksheet
WHERE e = 'blah'

into a formula in a cell.

I have a worksheet where I log Co-op Credit memos called memolog. on this sheet we have the acct#(A), cust. name(B), cust. inv.#(C), cm date(D)cm#(e), clm date(F)....

On another worksheet, global memo, we have a pretty version of this to mail to the customer. I want to know how to take the data from memolog, and get it into the correct places on global memo when I change the cm#(H2) field on global memo. I've tried using the Indirect function but I can't seem to figure out how to use it correctly.

I appologize in advance if this is a double posting. You also might be wondering how I know SQL but can't figure out a simple Excel function. I was/am a ColdFusion programmer. I have never worked with Excel very much. Mostly Access, SQL and Oracle. If I had my way I'd put this all in a database instead of a huge spreadsheet.
 

Some videos you may like

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Welcome to the Board.

You can get the acct# like this:

=INDEX(memolog!A:A,MATCH(H2,memolog!E:E,FALSE))

Chage the column reference in memolog!A:A to get the other data.
 

Watch MrExcel Video

Forum statistics

Threads
1,118,795
Messages
5,574,354
Members
412,588
Latest member
FabrizioMaurizio
Top