+ Reply to Thread
Results 1 to 6 of 6

Need formula to calculate redeemed points from above date and month

  1. #1
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Need formula to calculate redeemed points from above date and month

    Dear experts

    I have some range data column wise date and month nos i want calculate redeemed points of month.

    month nos like 3,6,12,24,36 i want find how many times of 24 & 36 if its first time 5 points *month,for second time 6 points*month if come more than twice i want give 12 points * Month, till end of column right.rest of ,3,6,12 no points.

    find the attachment i want formula in where ever find redeemed value
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need formula to calculate redeemed points from above date and month

    b5 =if(OR(B4=24,B4=36),VLookup(countif($B$4:B$4,B$4),$A$22:$B$33,2,0)*B$4/12,B$4) and drag to the right.

    in a22: b33 are the value 1 - 12 => 5 / 6 /12

    See the attached file.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Need formula to calculate redeemed points from above date and month

    Hi -

    Rather than IF AND OR functions, I took a little different approach and changed your table into a matrix (see the shaded area in the attached spreadsheet), then I used INDEX/MATCH to pull the correct percentage from the matrix. That way, it's easy to expand to add more conditions. What you have now can be managed with IF AND OR, but if you add many more combinations, the formula gets really long and hard to debug.

    See the attached file for a different approach to the solution.

    Hope this helps.
    Attached Files Attached Files
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Need formula to calculate redeemed points from above date and month

    Oops - Please disregard. I posted this solution to the wrong thread! Sorry!

  5. #5
    Forum Contributor
    Join Date
    04-30-2013
    Location
    washington
    MS-Off Ver
    Excel 2019
    Posts
    168

    Re: Need formula to calculate redeemed points from above date and month

    thanks alot sir It works i want with out vlookup table range can i refer the table in formula instead of a22:b33 becoz this is report belong to client i cant add any data range in workbook.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Need formula to calculate redeemed points from above date and month

    becoz this is report belong to client i cant add any data range in workbook.
    Why not?

    You can use another sheet for that if you don't want to put it on the same sheet.

+ 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. [SOLVED] Formula To Calculate Hours Completed Month To Date
    By rahul_ferns76 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2016, 10:46 AM
  2. Need a formula to calculate running anticipated total for a Month to Date report
    By GreyedOutJedi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-16-2016, 06:02 PM
  3. Calculate Points Based On Higher Date
    By kwood41799 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2015, 05:21 PM
  4. [SOLVED] Calculate Points Based On Higher Date
    By kwood41799 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-24-2015, 10:52 AM
  5. Replies: 4
    Last Post: 01-14-2014, 03:50 PM
  6. Formula to calculate a month before a renewal date is due to expire
    By Charlene C in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-21-2013, 11:49 AM

Tags for this Thread

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