Separating numbers according to their value

Ian1976

Board Regular
Joined
Feb 4, 2016
Messages
139
Office Version
  1. 365
Platform
  1. Windows
Morning folks :)

I have 2 tables, 1 with serial numbers in and the other with the hours that the item has been used for like this...

[TABLE="width: 500"]
<tbody>[TR]
[TD]526314[/TD]
[TD]632541[/TD]
[/TR]
[TR]
[TD]145236[/TD]
[TD]634152[/TD]
[/TR]
[TR]
[TD]854796[/TD]
[TD]964785[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="width: 500"]
<tbody>[TR]
[TD]343[/TD]
[TD]-794[/TD]
[/TR]
[TR]
[TD]-27[/TD]
[TD]-355[/TD]
[/TR]
[TR]
[TD]256[/TD]
[TD]1530[/TD]
[/TR]
</tbody>[/TABLE]

Is it possible to generate a formula that if the hours are between certain figures it puts the serial numbers of the item in a list or separate box/field? like this.... Thanks :beerchug:[TABLE="width: 500"]
<tbody>[TR]
[TD]<0[/TD]
[TD]0-750[/TD]
[TD]>751[/TD]
[/TR]
[TR]
[TD]632541, 145236, 634152[/TD]
[TD]526314, 854796[/TD]
[TD]964785[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If you have the TEXTJOIN function in your version of Excel, then try these.
They are array formulas so should be entered without the {} but confirmed with Ctrl+Shift+Enter, not just Enter. If confirmed correctly, Excel will insert the {}.

Excel Workbook
ABC
1526314632541
2145236634152
3854796964785
4
5343-794
6-27-355
72561530
8
90-750>751
10632541, 145236, 634152526314, 854796964785
List Numbers
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

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