+ Reply to Thread
Results 1 to 9 of 9

Tip Sheet with the "Need change or not?" function

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    CA, US
    MS-Off Ver
    Excel 2007
    Posts
    21

    Tip Sheet with the "Need change or not?" function

    Hi guys

    I am trying to make a tip sheet with a function that tells you whether I need a change or not.

    If I enter how much we have for each bills($1bill, $5bill, etc), is it possible for an excel to tell me whether I have enough small bills to be able to distribute all cash to given number of employees?

    For ex. if we have only $100.00 bills, it's no brainer that we need a change, but if we have mixture of everything, sometimes it's hard to know in the beginning. it'd be great if it's possible for an excel to tell you which bills to give each employee exactly.

    Thank you!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,650

    Re: Tip Sheet with the "Need change or not?" function

    Althought general idea seems to be clear, some details shall be clarified, like:
    * equal division or some groups or other "shares scheme"?
    * bills only? So if there is $105.00 and 2 employees what amount shall they receive?
    * standard bills only (or rare $2 too?)

    Probably best way is by example workbook with few sample cases "processed manually", so let me paste one of our canned replies:
    ---
    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    CA, US
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Tip Sheet with the "Need change or not?" function

    Hi,

    Please see the attached final version of tip sheet I made.
    I kinda made it in a way that everyone will understand what to do.
    I want to create a section where it would show whether I would need a change or not based on the information I have entered on the chart I made. Could you take a look at it please?

    Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tip Sheet with the "Need change or not?" function

    Here's one I made a few years ago ...

    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    2
    Denom >>
    $ -
    $ 100
    $ 50
    $ 20
    $ 10
    $ 5
    $ 1
    Total
    D2:J2: Input
    3
    Name
    Amt
    Bills on Hand >>
    4
    6
    36
    18
    12
    40
    $ 1,700
    E3:J3: Input
    4
    -
    -
    -
    -
    -
    -
    -
    K3 and down: =SUMPRODUCT($E$2:$J$2, $E3:$J3)
    5
    Alan
    $ 171
    -
    1
    1
    1
    -
    -
    1
    $ 171
    D4:J4,D5:D30: =0
    6
    Barb
    $ 193
    -
    1
    1
    2
    -
    -
    3
    $ 193
    E5 and across and down: =MIN(INT(($C5 - SUMPRODUCT($D$2:D$2, $D5:D5)) / E$2), E$3 - SUM(E$4:E4))
    7
    Cain
    $ 36
    -
    -
    -
    1
    1
    1
    1
    $ 36
    8
    Dana
    $ 40
    -
    -
    -
    2
    -
    -
    -
    $ 40
    9
    Eric
    $ 34
    -
    -
    -
    1
    1
    -
    4
    $ 34
    10
    Fran
    $ 39
    -
    -
    -
    1
    1
    1
    4
    $ 39
    11
    Gary
    $ 368
    -
    2
    3
    -
    1
    1
    3
    $ 368
    12
    Hana
    $ 94
    -
    -
    1
    2
    -
    -
    4
    $ 94
    13
    Ivan
    $ 61
    -
    -
    -
    3
    -
    -
    1
    $ 61
    14
    Jane
    $ 48
    -
    -
    -
    2
    -
    1
    3
    $ 48
    15
    Kent
    $ 82
    -
    -
    -
    4
    -
    -
    2
    $ 82
    16
    Leah
    $ 207
    -
    -
    -
    10
    -
    1
    2
    $ 207
    17
    Mark
    $ 18
    -
    -
    -
    -
    1
    1
    3
    $ 18
    18
    Nina
    $ 133
    -
    -
    -
    6
    1
    -
    3
    $ 133
    19
    Otto
    $ 115
    -
    -
    -
    1
    9
    1
    -
    $ 115
    20
    Peri
    $ 19
    -
    -
    -
    -
    1
    1
    4
    $ 19
    21
    Quin
    $ 31
    -
    -
    -
    -
    2
    2
    1
    $ 31
    22
    Rene
    $ 11
    -
    -
    -
    -
    -
    2
    1
    $ 11
    23
    Total
    $ 1,700
    Bills used >>
    4
    6
    36
    18
    12
    40
    $ 1,700
    24
    Bills left >>
    -
    -
    -
    -
    -
    -
    $ -
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tip Sheet with the "Need change or not?" function

    Here's what it looks like if it can't complete ...

    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    2
    Denom >>
    $ -
    $ 100
    $ 50
    $ 20
    $ 10
    $ 5
    $ 1
    Total
    3
    Name
    Amt
    Bills on Hand >>
    4
    6
    36
    18
    12
    36
    $ 1,696
    4
    -
    -
    -
    -
    -
    -
    -
    5
    Alan
    $ 77
    -
    -
    1
    1
    -
    1
    2
    $ 77
    6
    Barb
    $ 62
    -
    -
    1
    -
    1
    -
    2
    $ 62
    7
    Cain
    $ 123
    -
    1
    -
    1
    -
    -
    3
    $ 123
    8
    Dana
    $ 99
    -
    -
    1
    2
    -
    1
    4
    $ 99
    9
    Eric
    $ 14
    -
    -
    -
    -
    1
    -
    4
    $ 14
    10
    Fran
    $ 51
    -
    -
    1
    -
    -
    -
    1
    $ 51
    11
    Gary
    $ 139
    -
    1
    -
    1
    1
    1
    4
    $ 139
    12
    Hana
    $ 10
    -
    -
    -
    -
    1
    -
    -
    $ 10
    13
    Ivan
    $ 66
    -
    -
    1
    -
    1
    1
    1
    $ 66
    14
    Jane
    $ 19
    -
    -
    -
    -
    1
    1
    4
    $ 19
    15
    Kent
    $ 91
    -
    -
    1
    2
    -
    -
    1
    $ 91
    16
    Leah
    $ 263
    -
    2
    -
    3
    -
    -
    3
    $ 263
    17
    Mark
    $ 29
    -
    -
    -
    1
    -
    1
    4
    $ 29
    18
    Nina
    $ 33
    -
    -
    -
    1
    1
    -
    3
    $ 33
    19
    Otto
    $ 55
    -
    -
    -
    2
    1
    1
    -
    $ 55
    20
    Peri
    $ 69
    -
    -
    -
    3
    -
    1
    -
    $ 65
    21
    Quin
    $ 426
    -
    -
    -
    19
    4
    1
    -
    $ 425
    22
    Rene
    $ 70
    -
    -
    -
    -
    6
    2
    -
    $ 70
    23
    Total
    $ 1,696
    Bills used >>
    4
    6
    36
    18
    11
    36
    $ 1,691
    24
    Bills left >>
    -
    -
    -
    -
    1
    -
    $ 5

  6. #6
    Registered User
    Join Date
    07-24-2013
    Location
    CA, US
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Tip Sheet with the "Need change or not?" function

    Thank you but what formula are you using for E5?? I get value error when I used your formula accordingly to mine...

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tip Sheet with the "Need change or not?" function

    Look in cell M6 in post #4.
    Last edited by shg; 10-21-2017 at 11:19 AM.

  8. #8
    Registered User
    Join Date
    07-24-2013
    Location
    CA, US
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Tip Sheet with the "Need change or not?" function

    Yes, I used the formula as it as, only changed the cells to fit the chart I have, but it's giving me #value! error.. Screen Shot 2017-10-21 at 4.27.03 PM.jpgScreen Shot 2017-10-21 at 4.27.03 PM.jpg

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Tip Sheet with the "Need change or not?" function

    Here's the workbook.
    Last edited by shg; 10-21-2017 at 08:13 PM.

+ 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. "Worksheet change" not changing cell on other sheet to match target cell "fill".
    By Ochimus in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-02-2015, 12:02 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. Replies: 9
    Last Post: 09-05-2012, 10:23 AM
  4. [SOLVED] Variable "sheet-name" and "range-name" wanted in INDEX/MATCH-function
    By Fiebuls in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-01-2012, 04:09 PM
  5. Replies: 3
    Last Post: 07-27-2008, 06:31 AM
  6. Replies: 3
    Last Post: 02-17-2006, 12:30 AM
  7. [SOLVED] Please add a "sheet" function like "row" and "column" functions
    By Spreadsheet Monkey in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-08-2005, 12:15 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