IF condition with value splitting

Shaikh Aziz

New Member
Joined
Dec 18, 2020
Messages
35
Office Version
  1. 2007
Platform
  1. Windows
Dear All,

Please help me to correct below IF condition, I want to breaks value of "No. of lives" according to given financial year from start date of policy.

I have tried to solve problem with IF condition in F4 & G4 but unfortunately my formula works only for tenure 1.

My Formula : for columnF4 =D4*($F$3-A4)/E4

Conclusion: want to breaks value of "No. of lives" according to given financial year from start date of policy


Rows 1A ColumnB ColumnC ColumnD ColumnE ColumnF ColumnG ColumnH ColumnI ColumnJ ColumnK ColumnL ColumnM ColumnN ColumnO ColumnP ColumnQ Column
Rows 2FYFYFYFYFYFYFYFYFYFYFY
Rows 3POLICY_START_DatePOLICY_END_DateTenureNo. of livesTotal no of days31-03-201831-03-201931-03-202031-03-202131-03-202231-03-202331-03-202431-03-202531-03-202631-03-202731-03-2028Sum
Rows 4
24-01-2018​
23-01-2019​
1​
1​
364​
0.18​
0.82​
-0.18​
-1.19​
-2.19​
-3.20​
-4.20​
-5.20​
-6.21​
-7.21​
-8.21​
1.00​
Rows 5
24-01-2018​
23-01-2020​
2​
1​
729​
0.00​
Rows 6
05-01-2018​
04-01-2021​
3​
1​
1095​
0.00​
Rows 7
14-02-2018​
13-01-2022​
4​
1​
1429​
0.00​
Rows 8
29-12-2017​
28-12-2022​
5​
1​
1825​
0.00​
Rows 9
01-11-2018​
31-10-2025​
7​
1​
2556​
0.00​
Rows 10
29-06-2019​
28-06-2028​
9​
1​
3287​
0.00​
 
Last edited:

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Dear Sanjay,

I want to split no. of lives which is "1" into given FY years, e.g. formula would be, (Total no. of lives * difference of days from FY year and policy start date / Total no. of days.) I want to make this logic in IF condition respective in all tenure. e.g. 1, 2, 3, 4, 5, 7 & 9.
 
Upvote 0
I want to make this logic in IF condition respective in all tenure. e.g. 1, 2, 3, 4, 5, 7 & 9
Somehow, I'm not able to understand what exactly you want IF function to analyse and return as result. If you may elaborate, would be happy to help you.
 
Upvote 0
Sir, if you will look into row 4 there is 0.18 & 0.82 which sum is "1" & there is negative entries which i would considered as "0" .

My total no. of lives is 1 but i want to calculate earning lives based on given policy start days to financial year days accordingly.
 
Upvote 0
if you will look into row 4 there is 0.18 & 0.82 which sum is "1" & there is negative entries which i would considered as "0"
Got it. Just a modification to the formula and try this and give your feedback if it works.

Excel Formula:
=IF(($D4*(F$3-A$4)/$E4)<=0,0,($D4*(F$3-A$4)/$E4))
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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