+ Reply to Thread
Results 1 to 3 of 3

Formula for allocating stock to a given requirement

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Formula for allocating stock to a given requirement

    Hi All,

    Looking for some help on a conditional format.

    On the attached sheet I have a list of items in cells E3-7 and F3-7 and a requirement in cell C3.

    I'd like to highlight cells in column F that add up to the requirement in C3, either exactly that number of closest to it, but over it.

    For example on the attached sheet the requirement is 941 and we have various pallets with various weights in column F. So it should highlight cells F3-6.

    Any ideas if it can be done?

    Thanks
    Jake
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-20-2015
    Location
    Chicago, Illinois
    MS-Off Ver
    2016
    Posts
    2,103

    Re: Formula for allocating stock to a given requirement

    I'm not sure what the rest of your sheet looks like, but the following CF rule applied to cells F3:F7 works for what you've shown:

    =SUM($F$3:$F3)-$F3<$C$3

  3. #3
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    Re: Formula for allocating stock to a given requirement

    Brilliant, yes that works great for what I need. Thank you.

+ 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. Replies: 31
    Last Post: 10-28-2015, 01:54 AM
  2. Replies: 7
    Last Post: 04-08-2015, 08:39 PM
  3. [SOLVED] Help with formula for allocating cash by name and property plzzzzz
    By JCarollo765 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-29-2014, 09:18 AM
  4. what formula is required for my requirement?
    By chennaidude in forum Excel General
    Replies: 2
    Last Post: 09-16-2010, 01:48 AM
  5. Replies: 2
    Last Post: 05-13-2010, 01:30 AM
  6. [SOLVED] Can anybody help on an excel formula requirement.....?
    By Thyagaraj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-22-2006, 06:35 AM
  7. formula requirement
    By pcor in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 01-07-2006, 06:50 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