Any other ways to loop without using VBA?

mean3

New Member
Joined
Aug 4, 2020
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have a set of fixed asset data where the categories the fixed asset are only showed at the end of each category (instead of the beginning).
I would need to have the category to be in a new column beside every asset number.
There are over 10,000 rows of asset and 20+ categories combined, so I would prefer not to consider copy pasting or auto filling upwards as an option.
Are there any possible steps + formula to get the categories to be beside each asset number at each row without using VBA?

TIA!

Capture.JPG
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Morning
If I was to quickly complete, I would probably type "1000 fixtures and fittings" into cell D2
Then, in D3, I'd type =if(iserror(search(" ",b3),d2,b3))
Drag the formula down, and it should work

Thanks
Jon
 
Upvote 0
Then it looks like column E is just a repetition of column B?
 
Upvote 0
Morning Jon,

On picture, column D&E is an illustration of how I want my data to turn out..
Column B is how my raw data currently looks like.
So I would like to know if there's any other faster way to make my data turn out to be like column D&E :)

Apologies for the confusion.
 
Upvote 0
Which columns do you want the split to end in?
At the moment it's all in column B - do you want it to spread over A & B? B/C? Or sit in D & E?
Thanks
Jon
 
Upvote 0
On the solution above, the formula part:

"I would probably type "1000 fixtures and fittings" into cell D2
Then, in D3, I'd type =if(iserror(search(" ",b3),d2,b3))"

Can be used in any column, you'll just have to change the references in D to the required column.
And then to get E, you'd just copy and paste to where you need it.
Does this make sense?

Let me know if I'm not explaining too well!
Cheers
Jon
 
Upvote 0
Ooops, I think my screenshot can be a bit confusing. Let me re-upload the screenshot.

Column B is the raw data.
Every number form Cell B2 to B10 is under 1000 Furniture & Fittings' category.
Every number form Cell B12 to B22 is under 2000 Motor Vehicle's category.

What steps + formula can I use in column A for it to reflect 1000 Furniture & Fittings for cell B2 to B11 and changes to 2000 Motor Vehicle as soon as it reaches A12?

Thank you
 

Attachments

  • Capture2.JPG
    Capture2.JPG
    32.3 KB · Views: 21
Upvote 0
Yep - get you now
So - cell A1 - type "1000 fixtures and fittings"
Then, in a2, I'd type =if(iserror(search(" ",b2),a1,b2))

Drag the formula down to the bottom of the data

Has that done it?

Thanks
Jon
 
Upvote 0
Yeap, I got it.
But the cell A11 to 22 does not reflect 2000 Motor Vehicle as it should.. hmm..
 

Attachments

  • Capture3.JPG
    Capture3.JPG
    76.2 KB · Views: 19
Upvote 0
Aah - that's my fault to be fair, I assumed everything underneath the header was part of that FA subdivision, but it's everything above?
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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