lakke2120

New Member
Joined
Aug 21, 2014
Messages
32
The formula I have is working to a degree but it is not recognizing cells in a row that have a zero value (0). I have a row of numbers that have several blank cells and I am trying to display the values in order or left to right in a row including zeros. Here is the formula I have:
=IFERROR(OFFSET($B14,0,SMALL(IF($B14:$BA14<>0,COLUMN($B14:$BA14)),COLUMN(J14))-2),"")

thank you
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
How About:
Excel Formula:
=IFERROR(OFFSET($B14,0,SMALL(IF(ISNUMBER($B14:$BA14),COLUMN($B14:$BA14)),COLUMN(J14))-2),"")
Press CTRL+SHIFT+ENTER
 
Upvote 0
Hi Lakke2120,

I believe this should work for you.

Lakke2120.xlsx
BCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBA
141234567890000000000013570000056700000010
15
161234567890000000000013570000056700000010             
Sheet1
Cell Formulas
RangeFormula
B16:BA16B16=IFERROR(INDEX($B$14:$BA$14,AGGREGATE(15,6,COLUMN($B$14:$BA$14)-COLUMN($A$14)/($B$14:$BA$14<>""),COLUMN()-COLUMN($A$14))),"")
 
Upvote 0

Forum statistics

Threads
1,216,095
Messages
6,128,800
Members
449,468
Latest member
AGreen17

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