--------------------------------------------
On Sat, 3/4/17, mintaspriggs via MS EXCEL AND VBA MACROS 
<[email protected]> wrote:

 Subject: Re: $$Excel-Macros$$ How to make dynamic formula for value change on 
fix date every month
 To: [email protected]
 Date: Saturday, March 4, 2017, 8:02 AM
 
 
 --------------------------------------------
 On Sat, 3/4/17, Sunil Kumar Yadav <[email protected]>
 wrote:
 
  Subject: Re: $$Excel-Macros$$ How to make dynamic formula
 for value change on fix date every month
  To: [email protected]
  Date: Saturday, March 4, 2017, 7:10 AM
  
  Dear Paul,
  Thank you so much for your support
  but I don't have need formula calculation start from
  today. It should be start from my provided date...pls
  recheck that time my file i am sure you will be got my
  query.
  On Mar 4, 2017 1:58 AM,
  "Paul Schreiner" <[email protected]>
  wrote:
  First of all, your IF() statement:A nested if statement
 will evaluate each section
  until it finds a true() option.So, in
  the first case:IF(TODAY()<=42750evaluates
  false, that means today is > 42750So
  the second part: IF(AND(TODAY()>=42751  HAS to be true,
 so
  there's no reason to test it!Your
  IF statement could be simplified
 to:IF(TODAY()<=42750,0,
  IF(TODAY()<=42781,1.5,
  IF(TODAY()<=42809,3,
  IF(TODAY()<=42840,4.5,
  IF(TODAY()<=42870,6,
  IF(TODAY()<=42901,7.5,
  IF(TODAY()<=42931,9,
  IF(TODAY()<=42962,10.5,
  IF(TODAY()<=42993,12,
  IF(TODAY()<=43023,13.5,
  IF(TODAY()<=43054,15,
  IF(TODAY()<=43084,16.5,
  IF(TODAY()>=43085,18,0))))))))
  )))))
  But,
  you can simplify it even more.You're
  using the 15th of the month as the "break
  point".So,
  if you were to subtract 15 days, you'd be in the
  "same" month if the day is > 15, and the
  PREVIOUS month if it is before the 15th.Basically,
  by subtracting 15, you're setting the "break
  point" as the first of the month.So,
  if you determine the month number: (MONTH(A5-15)) you
 could
  say you want 1.5 for each month, or:MONTH(A6-15)
  * 15Now,
  the issue is with the first half of January.subtracting
  15 makes it December of the PREVIOUS year, and therefore
  should be 0 instead of 18.
  so,
  you need to check to see if the offset year is the same as
  the current year:=IF(YEAR(A5-15)
  <> YEAR(TODAY()),0, MONTH(A5-15)* 1.5)
  This
  seems match the same as your sample values for rows
  5-9,but
  I'm not sure what you were doing with rows
  12-16Why
  does 16-Mar in row 8 result in 4.5, but 16-Mar in row 13
 is
  supposed to be 1.5 ???I'm
  not sure what the rules you're using here.
  as
  for your second query:
  You're
  basically wanting to round off your number to the nearest
  1/2.You
  can accomplish this by first doubling the number and
  removing the decimal portion(extract
  just the integer portion)then
  divide it by 2:=INT(A23*2)/2
  this
  works for your samples.
  hope
  this helps.
  
   Paul------------------------------
  -----------
  “Do all the good you can,
  By all the means you can,
  In
  all the ways you can,
  In all the places you
  can,
  At all the times you can,
  To all the people you can,
  As
  long as ever you can.” - John Wesley
  ------------------------------
  ----------- 
  
   
    On Friday, March 3, 2017 12:08 PM,
  Sunil Kumar Yadav <[email protected]>
  wrote:
    
  
   Dear All,
  I have two query
  for automatically update value on one fixed date, have
  created formula but need dynamic formula.
  
  Formula:IF(TODAY()<=42750,0,IF(AND(
  TODAY()>=42751,TODAY()<=42781)
  ,1.5,IF(AND(TODAY()>=42782,
 TODAY()<=42809),3,IF(AND(
  TODAY()>=42810,TODAY()<=42840)
  ,4.5,IF(AND(TODAY()>=42841,
 TODAY()<=42870),6,IF(AND(
  TODAY()>=42871,TODAY()<=42901)
  ,7.5,IF(AND(TODAY()>=42902,
 TODAY()<=42931),9,IF(AND(
  TODAY()>=42932,TODAY()<=42962)
  ,10.5,IF(AND(TODAY()>=42963,
  TODAY()<=42993),12,IF(AND(
  TODAY()>=42994,TODAY()<=43023)
  ,13.5,IF(AND(TODAY()>=43024,
  TODAY()<=43054),15,IF(AND(
  TODAY()>=43055,TODAY()<=43084)
  ,16.5,IF(AND(TODAY()>=43085,
  TODAY()>=43085),18,0)))))))))) )))
  
  Please check excel
  sheet...Thanks in advance for help!
  -- 
  Sky
  
  
  "Good, Better, Best​!Always listen to your
  heart​​​, because there lives your
  parents.​
  
  
  
  
  
  -- 
  
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
  wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
  Facebook page of this forum @ https://www.facebook.com/
  discussexcel
  
   
  
  FORUM RULES
  
   
  
  1) Use concise, accurate thread titles. Poor thread
 titles,
  like Please Help, Urgent, Need Help, Formula Problem, Code
  Problem, and Need Advice will not get quick attention or
 may
  not be answered.
  
  2) Don't post a question in the thread of another
  member.
  
  3) Don't post questions regarding breaking or bypassing
  any security measure.
  
  4) Acknowledge the responses you receive, good or bad.
  
  5) Jobs posting is not allowed.
  
  6) Sharing copyrighted material and their links is not
  allowed.
  
   
  
  NOTE  : Don't ever post confidential data in a
 workbook.
  Forum owners and members are not responsible for any
  loss.
  
  --- 
  
  You received this message because you are subscribed to
 the
  Google Groups "MS EXCEL AND VBA MACROS" group.
  
  To unsubscribe from this group and stop receiving emails
  from it, send an email to excel-macros+unsubscribe@
  googlegroups.com.
  
  To post to this group, send email to [email protected].
  
  Visit this group at https://groups.google.com/
  group/excel-macros.
  
  For more options, visit https://groups.google.com/d/
  optout.
  
  
       
  
  
  
  -- 
  
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
  wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
  Facebook page of this forum @ https://www.facebook.com/
  discussexcel
  
   
  
  FORUM RULES
  
   
  
  1) Use concise, accurate thread titles. Poor thread
 titles,
  like Please Help, Urgent, Need Help, Formula Problem, Code
  Problem, and Need Advice will not get quick attention or
 may
  not be answered.
  
  2) Don't post a question in the thread of another
  member.
  
  3) Don't post questions regarding breaking or bypassing
  any security measure.
  
  4) Acknowledge the responses you receive, good or bad.
  
  5) Jobs posting is not allowed.
  
  6) Sharing copyrighted material and their links is not
  allowed.
  
   
  
  NOTE  : Don't ever post confidential data in a
 workbook.
  Forum owners and members are not responsible for any
  loss.
  
  --- 
  
  You received this message because you are subscribed to
 the
  Google Groups "MS EXCEL AND VBA MACROS" group.
  
  To unsubscribe from this group and stop receiving emails
  from it, send an email to excel-macros+unsubscribe@
  googlegroups.com.
  
  To post to this group, send email to [email protected].
  
  Visit this group at https://groups.google.com/
  group/excel-macros.
  
  For more options, visit https://groups.google.com/d/
  optout.
  
  
  
  
  
  -- 
  
  Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
  wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
  Facebook page of this forum @ https://www.facebook.com/discussexcel
  
   
  
  FORUM RULES
  
   
  
  1) Use concise, accurate thread titles. Poor thread
 titles,
  like Please Help, Urgent, Need Help, Formula Problem, Code
  Problem, and Need Advice will not get quick attention or
 may
  not be answered.
  
  2) Don't post a question in the thread of another
  member.
  
  3) Don't post questions regarding breaking or bypassing
  any security measure.
  
  4) Acknowledge the responses you receive, good or bad.
  
  5) Jobs posting is not allowed.
  
  6) Sharing copyrighted material and their links is not
  allowed.
  
   
  
  NOTE  : Don't ever post confidential data in a
 workbook.
  Forum owners and members are not responsible for any
  loss.
  
  --- 
  
  You received this message because you are subscribed to
 the
  Google Groups "MS EXCEL AND VBA MACROS" group.
  
  To unsubscribe from this group and stop receiving emails
  from it, send an email to [email protected].
  
  To post to this group, send email to [email protected].
  
  Visit this group at
 https://groups.google.com/group/excel-macros.
  
  For more options, visit
 https://groups.google.com/d/optout.
  2 24 ian - Guvernul depune in Parlament dosartl afacerii
 Stroussberg 10 22 mart   II 23 mart  -
 Puternica manifestatie antigermana la Bucuresti * 11 23
 mart  - 4 16 apr    1876 - Marea
 guvernare   conservatoare   a   lui 
   Lascar Catarg u 14 26 aug  - 15'27 eug  -
 Aniversarea a 400 de ani de la iarn isr> a manastirii
 Putna187118 ian - Proclamarea Imperiului German in frunte cu
 Wilhelm I 26 ian - Roma devine capitala Italiei 13
 mart   -    Conventia de la Londra
 cu privire  a stramtorile Bosfor si Dardanele mart -
 mai - Comuna din Paris 16 apr - Constitutia Imperiului
 German 10 mai - Tratatul de pace intre Franta si Germania de
 la Frankfurt
 
 -- 
 Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you
 wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official
 Facebook page of this forum @ https://www.facebook.com/discussexcel
 
 FORUM RULES
 
 1) Use concise, accurate thread titles. Poor thread titles,
 like Please Help, Urgent, Need Help, Formula Problem, Code
 Problem, and Need Advice will not get quick attention or may
 not be answered.
 2) Don't post a question in the thread of another member.
 3) Don't post questions regarding breaking or bypassing any
 security measure.
 4) Acknowledge the responses you receive, good or bad.
 5) Jobs posting is not allowed.
 6) Sharing copyrighted material and their links is not
 allowed.
 
 NOTE  : Don't ever post confidential data in a
 workbook. Forum owners and members are not responsible for
 any loss.
 --- 
 You received this message because you are subscribed to the
 Google Groups "MS EXCEL AND VBA MACROS" group.
 To unsubscribe from this group and stop receiving emails
 from it, send an email to [email protected].
 To post to this group, send email to [email protected].
 Visit this group at
 https://groups.google.com/group/excel-macros.
 For more options, visit
 https://groups.google.com/d/optout.ruciale pentru dezvoltarea 
so-cial-economica a Romaniei. La 15 decembrie 1918 s-a emis decre-tul-lege 
pentru exproprierea marilor proprietati rurale din Regat  care viza peste 2 
milioane ha din Transilvania  Bucovina si Basarabia din proprietatile 
particulare  ale supusilor statelor straine  absenteistilor  Casei Rurale  
Coroanei. Un nou decret  din 27 decembrie 1918  a fixat conditiile de 
expropriere. Acte legislative speciale  din anii 1919-1920  au vizat aplicarea 
reformei agrare in provincii. Legea propriu-zisa de reforma agrara  din 1921  a 
asigurat redistribuirea proprietatii agrare in favoarea taranimii.

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to