+ Reply to Thread
Results 1 to 15 of 15

Spread data by numbers

  1. #1
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Spread data by numbers

    There are data in first column.. A - B - C and I am wanting to get the data spread as in column J four times for each data by the number in F2
    then in column K to take each four values by the same order
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Spread data by numbers

    Please try at J2

    =INDEX($A$2:$A$9,(ROWS(J$2:J2)-1)/$F$2+1)&""
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Thank you. Can column K have formula too?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Spread data by numbers

    Please try at K2
    =IF(J2="","",ROWS(J$2:J2))

  5. #5
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Thanks but this doesn't work with the real data. The real data in column B are numbers like 100,150,200,10010,952 etc.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Spread data by numbers

    Quote Originally Posted by KingTamo View Post
    Thank you. Can column K have formula too?
    Simply with:

    K2=B2

    ?? or I missed something?
    Quang PT

  7. #7
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Thanks but I like that to be dynamic based on the values in D2 to F2

  8. #8
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Please need help.

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Spread data by numbers

    The real data in column B are numbers like 100,150,200,10010,952 etc.
    I like that to be dynamic based on the values in D2 to F2
    Perhaps if you could more thoroughly explain the meaning of the two statements then we would have a better idea of how to help.
    Better yet, manually illustrate how numbers like 100,150,200,10010,952 etc. in column B should be used in column K, based on the values in D2 to F2, by uploading another .xlsx file.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  10. #10
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    What I mean is to distribute the data by the number in cell F2.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Spread data by numbers

    Please upload a workbook with more realistic data clearly showing the sort of output you require.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  12. #12
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Spread data by numbers

    What I mean is to distribute the data by the number in cell F2.
    Try the following array entered formula** in cell K2 and then drag the fill handle down: =INDEX(B$2:B$9,(ROWS(K$2:K2)-1)/$F$2+1)
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Let us know if you have any questions.

  13. #13
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Thanks a lot. It seems not the desired result. Please have a look at the desired result in the first attachment.
    I am so sorry.

  14. #14
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,557

    Re: Spread data by numbers

    As modeled in the attached copy of the file, Bebo's solution will replicate the values in column K. If the values are changed to those listed in post #5 it still works.
    Let us know if you have any questions.
    Attached Files Attached Files

  15. #15
    Forum Contributor
    Join Date
    11-24-2016
    Location
    Libya
    MS-Off Ver
    Office 365
    Posts
    526

    Re: Spread data by numbers

    Thanks a lot. As for column j is okay but column k, I don't need equals directly but to distribute each four numbers with another way to get the same result.

+ 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] Spread Numbers Across Columns for Dollar Amounts
    By barelyliterate in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-28-2017, 03:51 PM
  2. Replies: 0
    Last Post: 01-19-2015, 03:31 PM
  3. Matching ID numbers from different spread sheets
    By Zavtacular in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-24-2012, 02:08 PM
  4. problem inserting numbers on spread sheet
    By rebb in forum Excel General
    Replies: 1
    Last Post: 06-21-2010, 05:05 PM
  5. reduced numbers in spread sheet
    By leonardo in forum Excel General
    Replies: 3
    Last Post: 08-28-2006, 10:33 PM
  6. Change the sign on all numbers in a spread sheet
    By Kelly in forum Excel General
    Replies: 2
    Last Post: 08-08-2006, 09:50 AM
  7. how to prevent numbers in spread sheet from rounding
    By BSA in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-19-2005, 02:05 PM

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