+ Reply to Thread
Results 1 to 9 of 9

How to get a cell's figure into an array of cells depending on another cell for range

  1. #1
    Registered User
    Join Date
    11-01-2012
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    15

    How to get a cell's figure into an array of cells depending on another cell for range

    From the calculation below, when the two (2) dates in cell C19 and D19 are subtracted, it returns a value of 62 days, which is in the range of cell B8 (70 - 61 days). Now, the problem is getting the amount in cell F19 ($50,000.00) to automatically sort itself into the array of cells in column C (i.e. C5 - C14).
    Attached Files Attached Files

  2. #2
    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,869

    Re: How to get a cell's figure into an array of cells depending on another cell for range

    Not sure what you want here. Is the result meant to appear in cell F19 or cell C8?
    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.

  3. #3
    Registered User
    Join Date
    11-01-2012
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    15
    Quote Originally Posted by AliGW View Post
    Not sure

    What you want here. Is the result meant to appear in cell F19 or cell C8?
    what I want is that any amount in cell F19 appears on any of the cell from C5 to C14 based on the value in cell E19.

    In the attached sheet, the amount in F19 appeared in C8 because E19 is 62. If for example E19 is 13, then the $50,000.00 would be in C13. And if E19 is 93, then the $50,000.00 would be in C5.

    All these, without having to tamper with column C.

    Got it?
    Last edited by bolajidopemu; 05-31-2016 at 10:57 AM.

  4. #4
    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,869

    Re: How to get a cell's figure into an array of cells depending on another cell for range

    There would have to be a formula in column C, though.

  5. #5
    Registered User
    Join Date
    11-01-2012
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    15
    Quote Originally Posted by AliGW View Post
    There would have to be a formula in column C, though.
    That's why I need help.

  6. #6
    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,869

    Re: How to get a cell's figure into an array of cells depending on another cell for range

    But you said that column C must not be tampered with. So are you saying that it's OK to have a formula in column C? If not, I don't see how it can be done without VBA, perhaps.

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to get a cell's figure into an array of cells depending on another cell for range

    Enter this in C5 and fill down. I don't understand "not tampering with column C".
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 05-31-2016 at 11:36 AM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    11-01-2012
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    15
    Quote Originally Posted by newdoverman View Post
    Enter this in C5 and fill down. I don't understand "not tampering with column C".
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Wow.....it worked!!!!! Thanks guys......nice work.

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to get a cell's figure into an array of cells depending on another cell for range

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Subtracting Range of Cells depending on Another Cell's Value
    By abedour in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-13-2015, 10:32 AM
  2. Replies: 4
    Last Post: 10-31-2014, 03:53 PM
  3. VBA code to tell an object to change colour depending on figure in cell
    By Muzza86 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-29-2014, 07:29 AM
  4. Lock Grey Cells in Range Depending on Seperate Cell change
    By Mackattack in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-19-2014, 07:09 AM
  5. [SOLVED] Lock specific range of cells depending on cell value
    By yoda66 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-27-2013, 11:30 AM
  6. [SOLVED] IF forumla - need to populate a cell on one sheet depending on range of cells in another
    By Emma2902 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-14-2012, 07:43 AM
  7. Replies: 1
    Last Post: 06-22-2012, 10:54 AM

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