Data transfer from one cell to another sheet

ridgeroo85

New Member
Joined
Oct 10, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello,
Not sure if anyone can help, I am looking at consolidating information, I am creating report so in cells A1-A30 would be a list of names, in cells B1-B30 would be a number, what I need to do is transfer the name from cell A onto another sheet depending on the number depends where the name needs to be copied to ie: if cell B1 was a value of 20 or less then cell A1 would need to go to sheet 2 cell A5. But if it was between a value of 20&29 it would need to go to sheet 2 B5 and if the value was 30 and above then it would need to go to C5. What is the easiest way to do this please?
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Not sure I understand this logic:
You said "A1 would need to go to sheet 2 cell A5"

How about where would A2 Go?
Would it go to sheet 2 A6?
 
Upvote 0
I note you have 365. You could do it this way:
Book1
AB
1Adam37
2Bernice6
3Charlie32
4Deborah9
5Eric2
6Frida9
7George12
8Harriet33
9Ian39
10Janice1
11Ken22
12Laura6
13Mark40
14Nora31
15Oliver38
16Petra24
17Quinten18
18Rose3
19Steve15
20Thelma3
21Usman13
22Vera38
23William32
24Xena4
25Yorich5
26Zara34
27Alan17
28Brenda5
29Cuthbert15
30Davina37
Sheet1


Book1
ABC
5BerniceKenAdam
6DeborahPetraCharlie
7EricHarriet
8FridaIan
9GeorgeMark
10JaniceNora
11LauraOliver
12QuintenVera
13RoseWilliam
14SteveZara
15ThelmaDavina
16Usman
17Xena
18Yorich
19Alan
20Brenda
21Cuthbert
22
Sheet2
Cell Formulas
RangeFormula
A5:A21A5=FILTER(Sheet1!$A$1:$A$30,Sheet1!$B$1:$B$30<=20,"")
B5:B6B5=FILTER(Sheet1!$A$1:$A$30,((Sheet1!$B$1:$B$30>20)*(Sheet1!$B$1:$B$30<=29)),"")
C5:C15C5=FILTER(Sheet1!$A$1:$A$30,Sheet1!$B$1:$B$30>=30,"")
Dynamic array formulas.
 
Upvote 0
Solution
Thank you kevin9999. I'll give this a try later on and see if it works as intended, it does appear to filter the names out into a respective banding which is perfect. I'll let you know how I get on with it
 
Upvote 0
Thank you kevin9999. I'll give this a try later on and see if it works as intended, it does appear to filter the names out into a respective banding which is perfect. I'll let you know how I get on with it
I look forward to your feedback.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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