Listing text mentions in Excel

rmilos

New Member
Joined
Oct 14, 2015
Messages
7
I have a project where I need to match my company's disciplines with the previous client projects.

I have sheet one where I will list a client name in column A1 with disciplines used for that client in B1, C1, D1, etc.
Client two in A2 with discipline in B2, C2, etc.

Sheet two contains the disciplines in A1, B1, C1, D1, etc.

Is there a formula the hat would return a list of client names with that discipline on sheet 1 under the discipline heading?
 
I copied the formula off the web into Notepad. With CTRL C, copied it again.

I selected the cell (A2) put the cursor in the fx field, CTRL V. Did a CTRL Shift Enter.
Then selected B2, highlighted the formulain the fx field, CTRL V. Did a CTRL Shift Enter.

on to the next cell

All read Adidas now.
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
That's the issue. When you copy a formula that way, you're getting the exact same formula in both cells, so of course you'll get the same answer. But when you select a cell, type Ctrl-C, select another cell, and type Ctrl-V, then Excel automatically modifies the formula before pasting it. Excel will change any relative cell references in the formula to be relative to the cell you are pasting the formula to.

For example:
AB
11=A1+5
23
35

<tbody>
</tbody>

If you copy the formula in B1 by putting it in the formula bar of B2 and B3, you get:
AB
11=A1+5
23=A1+5
35=A1+5

<tbody>
</tbody>

whereas if you select B1, press Ctrl-C, select B2:B3, and press Ctrl-V, you get:
AB
11=A1+5
23=A2+5
35=A3+5

<tbody>
</tbody>

If you need to use an absolute reference, like a percentage rate that applies to every calculation, you need to add a $ to the cell reference, which tells Excel "don't change this reference".

If you look at the formula I gave you, it has some references with a $, and some without. Which means that it's very important to let Excel modify the references when you copy it.

As a bonus, if you copy the formula this way, you can select an entire range to paste it in. You don't need to enter the formula 1 cell at a time.

So to recap the steps:
1) Take the formula and paste it into the formula bar of A2 on sheet and confirm it with Control-Shift-Enter.
2) The selection box should still be on A2 - press Ctrl-C.
3) Select range B2:F2
4) Press Ctrl-V
5) Select range A3:F100 (this should be the maximum number of clients)
6) Press Ctrl-V

Give that a try and let me know.
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,838
Members
449,471
Latest member
lachbee

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
Back
Top