Formula question

edorminey

New Member
Joined
Feb 2, 2014
Messages
15
Hi, I'm still learning Excel and need help with a formula.

I have a column T
I have positive numbers scattered out in 5 cells in the range T2:T100
(I have a formula in range T2:T100 that returns "" if the result is = 0 so most of the cells are blank except for the hidden formula)

I need to find the cells that are > 0 in range T2:T100 and put them in T105:T110 and also give me the values in column S in S105:S110.

Hope this is clear and thanks for your help.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi, I'm still learning Excel and need help with a formula.

I have a column T
I have positive numbers scattered out in 5 cells in the range T2:T100
(I have a formula in range T2:T100 that returns "" if the result is = 0 so most of the cells are blank except for the hidden formula)

I need to find the cells that are > 0 in range T2:T100 and put them in T105:T110 and also give me the values in column S in S105:S110.

Hope this is clear and thanks for your help.

T105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(CELL("address",INDEX($T$2:$T$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),
  ROW($T$2:$T$100)-ROW($T$2)+1),ROWS($T$105:T105)))),"")

S105, just enter and copy down:
Rich (BB code):
=IF($T105="","",INDIRECT($T105))
 
Upvote 0
That almost works perfect.

This is way over my head.

I would like to have the results in T105 show the value that is showing in S105 after doing what you said instead of just showing the cell number.. Does that make sense.

Thanks for your help.
 
Upvote 0
And one more item,, I would like to return the value that is one and two columns to the left of the cell that is referenced in T105 . I would like to put them in R105 and S105.
 
Upvote 0
Hi edorminey
It would help a lot if you could post an example of your worksheet or maybe a link that some one could download the workbook from.
 
Upvote 0
That almost works perfect.

This is way over my head.

I would like to have the results in T105 show the value that is showing in S105 after doing what you said instead of just showing the cell number.. Does that make sense.

Thanks for your help.

And one more item,, I would like to return the value that is one and two columns to the left of the cell that is referenced in T105 . I would like to put them in R105 and S105.

Let's say that we have the following results:

T105:

$T$14

S105:

20

This means T14 houses 20, a > 0 as specified in your initial post.

Is this not what you wanted to have? If it's, are you requiring the value in R14, to be shown in R105?
 
Upvote 0
Let's say that we have the following results:

T105:

$T$14

S105:

20

This means T14 houses 20, a > 0 as specified in your initial post.

Is this not what you wanted to have? If it's, are you requiring the value in R14, to be shown in R105?

It is true that T105 shows $T$14 but I want it to show the value 20 instead of the Cell address $T$14

I guess my other question is : we have T105 showing
$T$14. How do I show in R105 what is in $R$14 and show in S105 what is in $S$14 if $T$14 > 0 ???

Thanks

 
Upvote 0
It is true that T105 shows $T$14 but I want it to show the value 20 instead of the Cell address $T$14

I guess my other question is : we have T105 showing
$T$14. How do I show in R105 what is in $R$14 and show in S105 what is in $S$14 if $T$14 > 0 ???

Thanks


T105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($T$2:$T$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($T$105:T105))),"")

R105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($R$2:$R$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($R$105:R105))),"")

S105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($S$2:$S$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($S$105:S105))),"")
 
Upvote 0
T105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($T$2:$T$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($T$105:T105))),"")

R105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($R$2:$R$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($R$105:R105))),"")

S105, control+shift+enter, not just enter, and copy down:
Rich (BB code):
=IFERROR(INDEX($S$2:$S$100,
  SMALL(IF(ISNUMBER(1/$T$2:$T$100),ROW($T$2:$T$100)-ROW($T$2)+1),
  ROWS($S$105:S105))),"")

That works perfectly , thanks, thanks, thanks
 
Upvote 0

Forum statistics

Threads
1,213,529
Messages
6,114,155
Members
448,554
Latest member
Gleisner2

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