Get to know minimum from a cell mentioning the range

kshankar88

New Member
Joined
Jan 10, 2016
Messages
7
Hello,
I have cells mentioning the ranges as mentioned below in Column A beginning with row1:

No:eek:f workers Min no:
0-30 ?
31-60 ?
61-70 ?
71+ ?

I wanted to calculate the min no: before each tier. i.e. B2 should contain 0, B3 should contain 30, B4 should contain 60 and B5 should contain 70.
Is there a formula, I can use to parse columns A2-A5 to get B2-B5?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Here's an ugly effective formula.
The ugliness of this formula (and all the other formulas that will be offered) is a good reason that one shouldn't put two data in the same cell.

=LEFT(SUBSTITUTE(SUBSTITUTE(A2,"+","-"),"-"," "),5)-1

It would be a much cleaner spreadsheet if your column A were two columns

0 30
31 60
61 70
71 9E+99
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,102
Messages
6,128,851
Members
449,471
Latest member
lachbee

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