Populate a column based on the cell next to it

MadHatsJess

New Member
Joined
Jul 12, 2017
Messages
27
Hi, hoping someone can help :)

Example

Cell A
1 10 Weeks
2 12 Weeks
3 22 Weeks

I need column B to populate based on the value of cell A. For example "10" "12" "22"

I have around 60 variations.

I have had a look around online and think IFS would work but it doesn't work on my version of excel.

Thanks

Jess
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
We need more info ideally, do you just want to extract numbers from the let or a certain number of characters or all before the first space?

For example if if it was just two numbers then the following would work:
=LEFT($A1,2) Entered in B1 and drag it down for however many rows of smarts younhave.
 
Upvote 0
Also knocked this one up

=LEFT($A1,(FIND(" ",$A1,1)-1))

which extracts everything before the first space. Hopefully there is a solution here for you. I’m off to bed but will check back in the morning to see if anything further is required.
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,606
Members
449,089
Latest member
Motoracer88

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