Dated if Formula

ChetanPuri

Board Regular
Joined
Sep 5, 2018
Messages
97
Office Version
  1. 365
Platform
  1. Windows
Hi Excel Team,

Just need help with the Following , I am trying to creat formula, for example in column K I want to calculate number of weeks between 2 dates as in column I 12 & J 12, and then in column k 12 I have a reporting date 09 Feb 2024 , which is higher than date in column J (11/12/2023) and similarly on the next row end date is higher than the reporting date. What I want to create is 2 calculate number of weeks based on 2 criteria for example if start date is less than 01 July 2023, then it should calculate number of weeks between 01 July 2023 and end date , but if the end date is higher than the reporting date than it should calculate the no. of weeks between 01 July 2023 and Reporting Date. Any help on this will be highly appreciated.
 

Attachments

  • Excel Help  2024-02-09 153729.gif
    Excel Help 2024-02-09 153729.gif
    21.4 KB · Views: 19

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,224,816
Messages
6,181,139
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top