Formula to separate numbers in columns

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,446
Office Version
  1. 2007
Platform
  1. Windows
Hi everyone,

I need some help with a formula please.
In column A, I have numbers, and I would like to separate them in column C and D as is:

All numbers from 1 to 7 would be in column C, or if the number is higher = blanc cell.
and all numbers from 8 and up would be in column D, or if below = blanc cell.

Thank you. Serge.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
serge,

What version of Excel are you using?

You will generally get much more help (and faster) in this forum if you can post your small samples (what you have and what you expect to achieve) directly in the forum.

To attach screenshots, see below in my Signature block: Post a screen shot with one of these:

If you are not able to give us screenshots, see below in my Signature block: You can upload your workbook to Box Net
 
Last edited:
Upvote 0
Hi everyone,

I need some help with a formula please.
In column A, I have numbers, and I would like to separate them in column C and D as is:

All numbers from 1 to 7 would be in column C, or if the number is higher = blanc cell.
and all numbers from 8 and up would be in column D, or if below = blanc cell.

Thank you. Serge.

Try...

C2, copy down:

=IF(ISNUMBER(A2),IF(AND(A2>=1,A2<=7),A2,""),"")

D2, copy down:

=IF(ISNUMBER(A2),IF(A2>=8,A2,""),"")
 
Upvote 0
Hi Aladin

Thank you very much, your 2 formulas work perfectly for what I need.
 
Upvote 0
hiker95,

Thank you for the tip I will use it next time.
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,291
Members
452,902
Latest member
Knuddeluff

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