+ Reply to Thread
Results 1 to 10 of 10

Split the numbers

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Split the numbers

    Hai Friends..

    In my attached sheet..

    If kgs are greater than 3000, then it has to split the numbers in same vehicle.. as shown in sheet 2.. please suggest me..

    Thanking You
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split the numbers

    Try In sheet data.

    D3=IF(C3>3000,INDEX(Sheet2!$C$3:$C$50,MATCH(Data!$B3,Sheet2!$B$3:$B$50,0)),$C3) and drag down.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Split the numbers

    Answer should be displayed in sheet 2.. what the data there in sheet 2 is answer.. we cant formula to that sheet

  4. #4
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Split the numbers

    Shi,

    let's take vehicle number KA 20 AA 003 as an example. It has 17,690 kgs.

    On Sheet2, this weight is distributed over 7 vehicles: 2945, 2880, 2690, 2955, 2895, 1660, 1665.

    Is there a method or formula for dividing the weight? Seems random.

    In the attached sheet, I've divided the weight equally (rounded to the nearest 10) with any residual extra going to the last vehicle.

    Cheers
    Attached Files Attached Files
    <-- If you're happy & you know it...click the star.:-)

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Split the numbers

    Try in Sheet 2

    D3=IF(C3>3000,INDEX(Data!$C$3:$C$22,MATCH(Sheet2!B3,Data!$B$3:$B$22,0)),C3) and drag down.

  6. #6
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Split the numbers

    Thank You Amith.. But the figure should be diferent.. In you formula 2950 same till 6 vehicle.. What I showed in sheet 2 like that answer has to be displayed.
    KA 20 AA 003 2945
    KA 20 AA 003 2880
    KA 20 AA 003 2690 like that..

  7. #7
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Split the numbers

    Thank You Shukla.. sheet 2 is the, I Just done it in manually.. main sheet is data.. like sheet 2.. data sheet has to be displayed

  8. #8
    Forum Contributor amit.wilson's Avatar
    Join Date
    07-09-2013
    Location
    Gotham
    MS-Off Ver
    Excel for Mac 2011
    Posts
    283

    Re: Split the numbers

    Shi,

    that's my question: how do you decide on what number to use? Is it a randomly chosen number? Or is there a formula or method for deciding the different numbers?

  9. #9
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Split the numbers

    Amit,

    randomly chosen.. we can choose any number below 3000

  10. #10
    Registered User
    Join Date
    07-30-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    80

    Re: Split the numbers

    Amit,

    randomly chosen.. we can choose any number below 3000

+ 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] Split numbers..
    By mohit999 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-06-2016, 07:19 PM
  2. How to split numbers to specific name and total and split
    By ashokavarthanan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-13-2015, 09:12 AM
  3. [SOLVED] Delete text, split numbers to two cells and store as numbers
    By Steve_123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2014, 09:51 AM
  4. Replies: 11
    Last Post: 10-16-2013, 10:21 PM
  5. Split numbers and split words
    By Oddemann in forum Excel General
    Replies: 38
    Last Post: 05-10-2009, 02:57 PM
  6. split numbers
    By dodgy99uk in forum Excel General
    Replies: 3
    Last Post: 04-27-2007, 01:48 AM
  7. [SOLVED] Split off numbers
    By Mike R in forum Excel General
    Replies: 4
    Last Post: 09-24-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