How do i copy a rance and paste to cell listed in column....

AlexCP67

New Member
Joined
May 26, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I've tried to look this up but can't seem to word my search in a way where i get the wrong the results so i hope someone here can help out.

In the following data set i have 3 columns "E:E F:F and G:G" customer #, keyword and cell value.
I want to run a script that copies the data from all 3 coulmns and paste it by row to the value listed in that rows "Cell" column.
So range E2:G2 gets copied to the cell listed in G2 which is A8.

MrExHelp.png


Thanks in advance for any help!
-Alex
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
try:
Book1
ABCDEFG
1CustomerKeywordCell
200045appleA8
300037StringA11
400001996JohnA14
5
6
7
800045appleA8
9
10
1100037StringA11
12
13
1400001996JohnA14
15
16
Sheet2
Cell Formulas
RangeFormula
E2:G4E2=FILTER($A$2:$C$15,(--(A2:A15<>""))*(--(B2:B15<>""))*(--(C2:C15<>"")))
Dynamic array formulas.
 
Upvote 0
try:
Book1
ABCDEFG
1CustomerKeywordCell
200045appleA8
300037StringA11
400001996JohnA14
5
6
7
800045appleA8
9
10
1100037StringA11
12
13
1400001996JohnA14
15
16
Sheet2
Cell Formulas
RangeFormula
E2:G4E2=FILTER($A$2:$C$15,(--(A2:A15<>""))*(--(B2:B15<>""))*(--(C2:C15<>"")))
Dynamic array formulas.
Took me a second but i actually want to accomplish the opposite of what your formula does.
 
Upvote 0
Here is the data i am starting with... my first image in my original post is what i want the final product to be.
MrExHelp2.png
 
Upvote 0
Upvote 1
Thank you so much, this is exactly what I needed! I appreciate the help and wisdom you have bestowed on me!
 
Upvote 0
I'm pleased you found a solution. Welcome to the forum!

but I think i missed the keyword portion. I'll post a more complete mini in a moment.
 
Upvote 0
Upvote 1
Solution
Mr excel questions 39.xlsm
ABCDEFG
1CustomerKeywordCell
2   45appleA8
3   37StringA11
4   1996JohnA14
5   
6   
7   
845appleA8
9   
10   
1137StringA11
12   
13   
141996JohnA14
AlexCP67
Cell Formulas
RangeFormula
A2:A14A2=XLOOKUP(C2,$G$2:$G$4,E$2:E$4,"",0,1)
B2:B14B2=XLOOKUP(C2,$G$2:$G$4,F$2:F$4,"",0,1)
C2:C14C2=IF(ISNUMBER(MATCH(ADDRESS(ROW(C2),COLUMN(C2)-2,4),$G$2:$G$4,0)),ADDRESS(ROW(C2),COLUMN(C2)-2,4),"")
Thank you so much... I was able to successfully translate the formula in the customer column to work for keyword. I marked your last post as the solution because it does complete it for anyone researching this in the future. Again, i really appreciate the help!
 
Upvote 0

Forum statistics

Threads
1,215,256
Messages
6,123,911
Members
449,132
Latest member
Rosie14

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