Duwin

New Member
Joined
Sep 19, 2019
Messages
15
Good day guys!

For example i have a set of data from sheet1 from column 1 to 10
A1 0
B1 0
C1 0
D1 2
E1 34
F1 65
G1 32
H1 23
I1 15
J1 90

How can I transfer it to Sheet 2 and it will:
*transfered all values to rows
*it will transfer all values starting with the non zero value(in my example it must start with 2 etc.)
 
In that case either something must have been changed, or it is not as you describe.

edit:-

Reading your posts again, there appears to be some contradicting use of row and column in your descriptions, perhaps this variation will work.

=IFERROR(INDEX(Sheet1!$A$1:$J$1,AGGREGATE(15,6,COLUMN(Sheet1!$A$1:$J$1)/(Sheet1!$A$1:$J$1<>0),COLUMNS($A1:A1))),"")
 
Last edited:
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.
*it will transfer all values starting with the non zero value(in my example it must start with 2 etc.)
I know your data can start with 0 values in the beginning cells, but could there ever be a 0 value in a cell somewhere down in the middle of your values after the first non-zero value?
 
Upvote 0
I know your data can start with 0 values in the beginning cells, but could there ever be a 0 value in a cell somewhere down in the middle of your values after the first non-zero value?

Yes rick there are zeros between the first non zero cell snd the last cell..i need to tramsfer the first non zero cell up to the last cell in same order
 
Upvote 0
In that case either something must have been changed, or it is not as you describe.

edit:-

Reading your posts again, there appears to be some contradicting use of row and column in your descriptions, perhaps this variation will work.

=IFERROR(INDEX(Sheet1!$A$1:$J$1,AGGREGATE(15,6,COLUMN(Sheet1!$A$1:$J$1)/(Sheet1!$A$1:$J$1<>0),COLUMNS($A1:A1))),"")

Ok i will try this..thank you very much jason for your help
 
Upvote 0

Forum statistics

Threads
1,214,402
Messages
6,119,299
Members
448,885
Latest member
LokiSonic

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