Rows columns

alliswell

Board Regular
Joined
Mar 16, 2020
Messages
206
Office Version
  1. 2007
Platform
  1. Windows
  2. Mobile
Hi everybody !

Can we use Rows and Columns function together in nested formula to extract data ? if yes, how to ?

Thanks & Regards
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
There are lots of questions, such as where does the information you are going to plug into said formula come from.
So can you show us an example of exactly what it is you are trying to do? I think that would go a long way in trying to come up with a solution to do what you need.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
There are lots of questions, such as where does the information you are going to plug into said formula come from.
So can you show us an example of exactly what it is you are trying to do? I think that would go a long way in trying to come up with a solution to do what you need.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
Mr joe, thanks for replying, just check the attachment.

There are various ways to extract data, but i need with rows and columns to extract data as statement of customers.

Thanks and regards
 

Attachments

  • Screenshot_20250111-125545.png
    Screenshot_20250111-125545.png
    240.3 KB · Views: 12
Upvote 0
In future please do not mark a post as the solution when it does not contain one. Especially when you are still looking for help.
 
Upvote 0
just check the attachment.
Sure, we can check the attachment to get an idea, but we cannot copy from it to test formulas. ;)
For the future, please review Joe's comments about XL2BB. As well as making it easier for helpers, it will likely get you much faster responses.

Try a formula like this in A34 and drag down and across.

25 01 12.xlsm
ABCDE
1
2Name 4Product 4201892
3Name 3Product 12370915
4Name 2Product 1014953
5Name 3Product 20620797
6Name 8Product 22303350
7Name 5Product 1487307
8Name 3Product 23935434
9Name 9Product 1247878
10Name 2Product 18870712
11Name 1Product 22916855
12Name 2Product 25430551
13Name 2Product 399670
14Name 9Product 20521541
15Name 1Product 205432
16Name 3Product 1760131
17Name 7Product 2142488
18Name 9Product 311678
19Name 8Product 17719486
20Name 8Product 23734972
21Name 8Product 21420357
22Name 1Product 15142575
23Name 4Product 2999828
24Name 3Product 26913778
25Name 4Product 325863
26Name 6Product 17227783
27Name 4Product 3493767
28Name 6Product 2737548
29Name 4Product 19620391
30
31To Search
32Name 2
33
34Name 2Product 1014953
35Name 2Product 18870712
36Name 2Product 25430551
37Name 2Product 399670
38    
Extract
Cell Formulas
RangeFormula
A34:D38A34=IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(B$2:B$29)/($B$2:$B$29=$A$32),ROWS(A$34:A34))),"")
 
Upvote 0
Sure, we can check the attachment to get an idea, but we cannot copy from it to test formulas. ;)
For the future, please review Joe's comments about XL2BB. As well as making it easier for helpers, it will likely get you much faster responses.

Try a formula like this in A34 and drag down and across.

25 01 12.xlsm
ABCDE
1
2Name 4Product 4201892
3Name 3Product 12370915
4Name 2Product 1014953
5Name 3Product 20620797
6Name 8Product 22303350
7Name 5Product 1487307
8Name 3Product 23935434
9Name 9Product 1247878
10Name 2Product 18870712
11Name 1Product 22916855
12Name 2Product 25430551
13Name 2Product 399670
14Name 9Product 20521541
15Name 1Product 205432
16Name 3Product 1760131
17Name 7Product 2142488
18Name 9Product 311678
19Name 8Product 17719486
20Name 8Product 23734972
21Name 8Product 21420357
22Name 1Product 15142575
23Name 4Product 2999828
24Name 3Product 26913778
25Name 4Product 325863
26Name 6Product 17227783
27Name 4Product 3493767
28Name 6Product 2737548
29Name 4Product 19620391
30
31To Search
32Name 2
33
34Name 2Product 1014953
35Name 2Product 18870712
36Name 2Product 25430551
37Name 2Product 399670
38    
Extract
Cell Formulas
RangeFormula
A34:D38A34=IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW(B$2:B$29)/($B$2:$B$29=$A$32),ROWS(A$34:A34))),"")
Thanks peter
 
Upvote 0

Forum statistics

Threads
1,225,750
Messages
6,186,808
Members
453,373
Latest member
Ereha

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