Non Blank Values from a row

subatomic

New Member
Joined
Dec 13, 2016
Messages
4
Hi,

I have been working on doing this for many hours and have gotten as far as i can. driving me crazy now so any help is much appreciated.

i have a set of data that look in part like this

CAFÉ150G PAN150G REC PAN135G PANWSDRGSDRLTBGFGCB300G CBSTurkRollTBXLTB
Rock & Roll21121 4 6
Another Italian31222
Park st41323
Branches51424

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>


i need to extract from it something that looks like this to another sheet.



Rock & Roll150G PAN150G REC PAN 135G PANGFGCBS
2 11 21 4 6
Another Italian150G PAN150G PAN REC135G PAN
3 12 22

<colgroup><col><col><col span="3"><col></colgroup><tbody>
</tbody>


i think i am close to the first formula


=IFERROR(INDEX('Cafe Table'!B2:BQ2,SMALL(IF(LEN('Cafe Table'!B2:BQ2)>0,COLUMN('Cafe Table'!B2:BQ2)-COLUMN('Cafe Table'!$B$2)),COLUMN('Cafe Table'!1:1)),1),"")

then CTRL-SHIFT-ENTER

any help is very appreciated

THANKS !
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Just to be clear, i need a formula to output row of the numbers with no blanks in between. then another formula to extract the name of the bread above the number.

many thanks again
 
Upvote 0

Forum statistics

Threads
1,214,807
Messages
6,121,679
Members
449,047
Latest member
notmrdurden

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