+ Reply to Thread
Results 1 to 3 of 3

Projecting numbers into various cells from a bunch of numbers in single cell

  1. #1
    Forum Contributor
    Join Date
    12-02-2013
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    112

    Question Projecting numbers into various cells from a bunch of numbers in single cell

    Hi,

    I Did copied & pasted a bunch of values "1,3,4,2" as it is from some website in cell S2. Now I would like that 1 to be in cell s3 , 2 in cell s4, 3 in cell s5 and 4 in cell s6 in ascending order, so that it would be possible to add, subtract and multiply those four numbers later as desired.

    But the problem is that whenever i press S2 it displays the whole bunch 1,2,4,2 in the formula bar and i do not know how to proceed forward to achieve above stated result. Thus any ideas suggested will be very much appreciated.

    Thank you

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Projecting numbers into various cells from a bunch of numbers in single cell

    S3=IFERROR(SMALL(INDEX(--TRIM(MID(SUBSTITUTE(S$2,",",REPT(" ",LEN(S$2))),(ROW(INDIRECT("1:"&LEN(S$2)-LEN(SUBSTITUTE(S$2,",",""))+1))-1)*LEN(S$2)+1,LEN(S$2))),0),ROWS(S$3:S3)),"")
    Please Login or Register  to view this content.
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Projecting numbers into various cells from a bunch of numbers in single cell

    Hi there,

    See if the attached workbook does what you need. It uses the following VBA User-Defined Function:

    Please Login or Register  to view this content.

    To use the function, enter the following formula in the appropriate cell:

    Please Login or Register  to view this content.
    where SourceCell is the address of the cell which contains e.g. "2, 1, 7, 3"

    and ValueNo is whichever of the individual values (e.g. Value No 3) you wish to display.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files
    Last edited by Greg M; 05-28-2018 at 06:48 AM. Reason: Minor change

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Needing to transpose a bunch of numbers??????
    By Restiphani in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 01-15-2018, 02:58 PM
  2. [SOLVED] Count the numbers within a string of numbers in a single cell
    By gra0001 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-26-2016, 05:08 AM
  3. Replies: 7
    Last Post: 04-29-2016, 12:25 AM
  4. Replies: 9
    Last Post: 06-22-2015, 10:43 AM
  5. [SOLVED] Copy multiple numbers from a single cell to individual cells
    By Styler001 in forum Excel General
    Replies: 5
    Last Post: 04-15-2014, 01:23 AM
  6. Replies: 11
    Last Post: 10-16-2013, 10:21 PM
  7. [SOLVED] I want merge all numbers in single cell with , between numbers
    By vengatvj in forum Excel General
    Replies: 4
    Last Post: 10-07-2013, 02:58 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1