Subtracting Different amount of days based on what option is chosen in two different fields

  • 0
  • 1
  • Question
  • Updated 4 months ago
  • Answered
I have a Due Date Field, in which I want it to look at the Item Type Field, and Task Field and based on what is chosen it will calculate a Due Date.  I started typing this Date Formula but this field will only populate if I choose Video Jet which I am assuming I am missing information in this.  I also will do a check box or button override for certain items that will need to be manually edited.  Any help would be awesome. 


If([Item Type]="Proficiency Testing", If (([Task]="Video Jet"), WeekdayAdd ([Due Date], -60)),

If ([Item Type]="Proficiency Testing", If (([Task]="Labels Applied"), WeekdayAdd ([Due Date], -60)),

If ([Item Type]="Proficiency Testing", If (([Task]="Collating"), WeekdayAdd ([Due Date], -50)),

If ([Item Type]="Proficiency Testing", If (([Task]="Dispensing / Gluing"), WeekdayAdd ([Due Date], -40))))))
Photo of Art

Art

  • 112 Points 100 badge 2x thumb

Posted 4 months ago

  • 0
  • 1
Photo of QuickBasePros (Laura Thacker)

QuickBasePros (Laura Thacker), Champion

  • 6,396 Points 5k badge 2x thumb
Try this:

If([Item Type]="Proficiency Testing",
If([Task]="Video Jet", WeekdayAdd ([Due Date], -60),
If([Task]="Labels Applied", WeekdayAdd ([Due Date], -60),
If([Task]="Collating", WeekdayAdd ([Due Date], -50),
If([Task]="Dispensing / Gluing", WeekdayAdd ([Due Date], -40),
[Due Date])))))
Photo of Art

Art

  • 112 Points 100 badge 2x thumb
Thank you very much!