+ Reply to Thread
Results 1 to 3 of 3

Duel Code Check and Pay

  1. #1
    Registered User
    Join Date
    11-18-2014
    Location
    houston
    MS-Off Ver
    2010
    Posts
    12

    Duel Code Check and Pay

    Hello Friends - Really need help in formula. i have a sheet with many different codes like below example. And they have their own status. So i want to create a formula - that if there is same code and both of them have pay status then give the first line item 50 then the second one 25. Then the other formula i want is if there is same code then one has pay and the other has no pay status so it should get 0 and the first one should get 50. How can i do this please help!!!

    Code Status Amount
    45 Pay 50
    45 Pay 25
    50 Pay 50
    50 NoPay 0
    60 Pay 50
    60 NoPay 0
    61 Pay 50
    61 Pay 25

  2. #2
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Duel Code Check and Pay

    Due to my english, I need to re-confirm your requitement again.

    Your code come as couple and connected, no skipped.
    1st occurance of each code amount will be 50 if status is Pay
    2nd occurance of each code amount will be 25 if status is Pay , or else 0.

    C2
    Please Login or Register  to view this content.

    Regards.

  3. #3
    Registered User
    Join Date
    11-18-2014
    Location
    houston
    MS-Off Ver
    2010
    Posts
    12

    Re: Duel Code Check and Pay

    Quote Originally Posted by menem View Post
    Due to my english, I need to re-confirm your requitement again.

    Your code come as couple and connected, no skipped.
    1st occurance of each code amount will be 50 if status is Pay
    2nd occurance of each code amount will be 25 if status is Pay , or else 0.

    C2
    Please Login or Register  to view this content.

    Regards.
    Thanks for your help.

+ 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: 10
    Last Post: 07-22-2018, 04:00 PM
  2. Using Check Box Code for Multiple Check Boxes
    By brentjohn in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-07-2018, 01:13 AM
  3. [SOLVED] VBA Code to Check if a Range of cells is Empty or Not and run code accordingly
    By unit285 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-01-2016, 08:19 PM
  4. How to check if excel file is Checked Out in SharePoing Check Out, run code, Check In
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2016, 04:36 PM
  5. I need a code for presence check to check multiple text boxes and combo boxes
    By Lee_wwfc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-24-2013, 01:53 PM
  6. [SOLVED] Vba code to fill check in & check out counts
    By ashfaquebwd in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2013, 09:02 AM
  7. [SOLVED] vba code to be correct and check ,vba code to brig data for the same refreince
    By funtastic in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-25-2012, 02:29 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