Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2014, 03:13 AM
Mukiwi Mukiwi is offline Date specific formula Query Windows 7 32bit Date specific formula Query Office 2010 32bit
Novice
Date specific formula Query
 
Join Date: Mar 2014
Posts: 3
Mukiwi is on a distinguished road
Default Date specific formula Query

Hi



I hope someone can help. Per the attached screen shot I am trying to implement date specific formulas in columns W through AK.

Column O is the total funding available. A 20% retention (Column R) and 5% audit check amount (Column Q) are withheld from this total until the end of the contract period leaving column P as the amount to work with.

The monthly amount (Column U) is calculated by dividing Column P by Column T.
The first payment is dependant on whether column V matches the cells W1 through AK1 and is 2 months up front. The following months will be the monthly amount in column U.
When the sum of these payments matches the amount of Column P then the Retention amount is released. Lastly the audit amount it released. The sum of all these amounts should total the amount in Column O.

The formulas I have tried to use are as follows:

W2 (This is an easy calculation and works fine.)
=IF(DATE(YEAR($V2),MONTH($V2),DAY(0))=DATE(YEAR(W$ 1),MONTH(W$1),DAY(0)),$U2*2,"")

X2
=IF(DATE(YEAR($V2),MONTH($V2),DAY(0))=DATE(YEAR(x$ 1),MONTH(x$1),DAY(0)),U2*2,IF(SUM($W2)=$P2,$R2,IF( SUM($W2)=SUM($R2+$P2),$Q2,IF(SUM($W2)=$O2,"",$U2)) ))

Y2
=IF(DATE(YEAR($V2),MONTH($V2),DAY(0))=DATE(YEAR(y$ 1),MONTH(y$1),DAY(0)),U2*2,IF(SUM($W2:$Y2)=$P2,$R2 ,IF(SUM($W2:$Y2)=SUM($R2+$P2),$Q2,IF(SUM($W2:$y2)= $O2,"",$U2))))

etc.

(Note: The attachment is how the spreadsheet should look but I have been unable to match this.)

Thanks in advance
Attached Images
File Type: jpg Capture.jpg (25.1 KB, 22 views)
Reply With Quote
  #2  
Old 03-18-2014, 12:59 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Date specific formula Query Windows 7 64bit Date specific formula Query Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,944
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi and welcome
Please post a sample sheet. Pics are nice to look at but hard to work with
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 03-18-2014, 02:20 PM
gebobs gebobs is offline Date specific formula Query Windows 7 64bit Date specific formula Query Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

First of all, may I point out that your Column P should be "Less 25%", not "Less 15%"

Maybe something like this (see attached)...

Basically, the equation for the first month is a nested if:

=IF(I1>$H2,$G2,IF(I1=$H2,2*$G2,""))

If test month (I1) > Process Month (H2), 1x the Monthly Amount (G2), else
If test month (I1) = Process Month (H2), 2x the Monthly Amount (G2), else
[Less than]: ""

The other months all have the same nested ifs:

=IF(SUM($I2:I2)=$A2,"",IF(SUM($I2:I2)=$B2+$D2,$C2, IF(SUM($I2:I2)=$B2,$D2,IF(J1>$H2,$G2,IF(J1=$H2,2*$ G2,"")))))

If the amounts to the left = Total Allocation (A2), then "", else
If the amounts to the left = Less 25% (B2) + Retention (D2), then Audit (C2), else
If the amounts to the left = Less 25% (B2), Retention (D2), else
The first equation above.
Attached Files
File Type: xlsx mukiwi.xlsx (9.0 KB, 10 views)
Reply With Quote
  #4  
Old 03-20-2014, 06:26 AM
Mukiwi Mukiwi is offline Date specific formula Query Windows 7 32bit Date specific formula Query Office 2010 32bit
Novice
Date specific formula Query
 
Join Date: Mar 2014
Posts: 3
Mukiwi is on a distinguished road
Default

Thanks for the update. Ill give that a go and update my findings.
Reply With Quote
  #5  
Old 03-20-2014, 06:33 AM
Mukiwi Mukiwi is offline Date specific formula Query Windows 7 32bit Date specific formula Query Office 2010 32bit
Novice
Date specific formula Query
 
Join Date: Mar 2014
Posts: 3
Mukiwi is on a distinguished road
Default

Perfect, thanks Gebobs
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Date specific formula Query MS Query date format remigio Word 3 08-21-2012 10:54 PM
Date specific formula Query Tracking changes: Reviewing Pane: Insertions etc: Is it possible to get specific date semiotically Word 1 07-29-2012 03:29 PM
How to count year lapse (rounded off) based on specific date KIM SOLIS Excel 1 11-01-2011 10:50 AM
Date specific formula Query Need a date formula MPAVLAS Excel 3 08-12-2010 10:04 PM
Date format always interpreted as a formula Butch Jackman Excel 1 02-14-2006 11:27 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft