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.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,437
Messages
5,831,625
Members
430,077
Latest member
CoulterM

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
Top