+ Reply to Thread
Results 1 to 5 of 5

array for highest value

Hybrid View

  1. #1
    Registered User
    Join Date
    01-12-2007
    Posts
    41

    array for highest value

    hi
    there are three sheets one bank_notes second notes and last value
    i need an array function which can calcualte the notes aviavable on banks_notes
    which i enter in the value sheet the put then in notes sheet

    eg:
    1.if i enter 150 in value sheet value cell
    i should GET from the bank_notes sheet CELL avaiable_NOTES WITH THE HIGHEST facevaulei should get one 100 note and one 50 note in notes sheet
    2. if i enter 255 in value sheet value cell
    i should GET from the bank_notes sheet CELL avaiable_NOTES WITH THE HIGHEST facevaule
    i should get one 200 note and one 50 note and one 5 note in notes sheet
    3.so on
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    See the attached file... I hope it's what you need.

    Regards,
    Antonio
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-12-2007
    Posts
    41
    hi
    thanxs a lot in one shot gr8

    one more issue in this
    if for eg:
    250 one 200 and one 50
    it should delete from bank_notes cell AVAILABLE_NOTES
    18 to 17 and one 50 AVAILABLE_NOTES 25 to 24
    because AVAILABLE_NOTES will decrease as the notes are given

    thanxs once agin

  4. #4
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628
    See attached file... I hope it's ok for you.

    I added decrease available notes and also control on it... it doesn't take facevalues if corresponding available notes are not greatest than zero.

    Regards,
    Antonio
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-12-2007
    Posts
    41
    simple gr8

    thank u soooooooooo much

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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