• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula which can fetch percent between two dates

Need a formula which can fetch a percentage based on a date(Which is between two dates).

Please find the attached file for the data. Need formula in cell C6 which can be copied horizontally till V6. Basically this formula should check if the dates from range F10:F20 is coming under dates between C2 and C4. If yes, it should show the respective percentage next to month column.

Thanks in advance :)
 

Attachments

  • Percentage Data in a Date Range.xlsx
    9.3 KB · Views: 6
@vletm If you put the formula in the sheet, it is not taking the data based on the dates mentioned in the range E10:E20.
I updated the formula you have given and 1st date is 01-Jun-18 and against that 10% is there. So if we update the formula in cell C6 then it should show 10% because June-18 comes between April-18(Cell C2) and June-18(Cell C4).

The formula should fetch the percentage based on the date mentioned in range E10:E20 which are between C2 and C4.
 
See in your image, percentage against 30-Oct(Cell E11) is 8%. October comes between date range "Oct-18 & Dec-18". So it should be updated in cell E6. Your image is showing 10% in E6.
 
Dear Amit,

Pls try and see if this works for you

=SUMIFS($F$10:$F$20,$E$10:$E$20,">="&C$2,$E$10:$E$20,"<="&C$4)

regards
Naresh
 

Attachments

  • Percentage Data in a Date Range.xlsx
    9.5 KB · Views: 6
Amit Punia
There were TYPO 2 -> 4 ...
=IFERROR(LOOKUP(C4,$E10:$E21,$F10:$F21),"")

Those would be 'better' test values or how?
 

Attachments

  • Percentage Data in a Date Range 15.09.08.xlsx
    10 KB · Views: 2
Back
Top