#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 788
Default Excel Formula

I'm trying to do a projection for A/P with a data sheet that has all open
invoices (Vendor, Due Date and Trx Amount), then I have another sheet has
Vendor, amount by current, 31-60, 61-90, and 91+ that list each week for
several months after that.

What I need to do Is compare Column A(Vendor) in both sheets by Vendor
because the data sheet will be different when I run the smart list by new
invoices that are added and then by due dates so that it returns the $ amount
for each invoice in the appropriate column by due date. I'm also going to
need to do a <= and/or = to capture all due dates. For instance my first
date is 5/9/07 I will need to capture 5/9/07 and anything less then that
date. Also my next date 5/16/07 so I will need to capture anything greater
than 5/9/07, but less than 5/16/07.

Do I need to do a Vlookup and then an If statement? I've been playing around
with it and just can't seem to get it to work.

Thanks
--
Chris Jones
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 149
Default Excel Formula

I'm thinking Vlookup and a pivot table.

Create a table with your Due dates, call it ForecastDates:

1/1/07 5/9/07
5/10/07 5/16/07
5/17/07 5/23/07
5/24/07 5/30/07
5/31/07 Not Due

(using formulas, you can set this up so that changing one date will cascade
a change to all dates in the table)

then create a helper column with a vlookup formula:
= vlookup(DueDate, ForecastDates, 2)
dates between 1/1 and 5/9 will have 5/9/07 returned, etc.

Then build a pivot table off of that, using your helper column in the column
area.

BTW, your aging sheet could be done the same way:

A table called AgingTable:

0 Current
31 31-60
61 61-90
91 91 +

In a helper column:
= if(DueDateReportDate,0,Vlookup(DueDate-ReportDate,AgingTable,2)

Create a pivot table using the Helper column in the Column area.

"Chris" wrote in message
...
I'm trying to do a projection for A/P with a data sheet that has all open
invoices (Vendor, Due Date and Trx Amount), then I have another sheet has
Vendor, amount by current, 31-60, 61-90, and 91+ that list each week for
several months after that.

What I need to do Is compare Column A(Vendor) in both sheets by Vendor
because the data sheet will be different when I run the smart list by new
invoices that are added and then by due dates so that it returns the $
amount
for each invoice in the appropriate column by due date. I'm also going to
need to do a <= and/or = to capture all due dates. For instance my first
date is 5/9/07 I will need to capture 5/9/07 and anything less then that
date. Also my next date 5/16/07 so I will need to capture anything greater
than 5/9/07, but less than 5/16/07.

Do I need to do a Vlookup and then an If statement? I've been playing
around
with it and just can't seem to get it to work.

Thanks
--
Chris Jones



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
match formula - 2 excel files:#1 hasthis formula, 2nd has the Raw DS Excel Worksheet Functions 4 October 7th 06 12:25 AM
Excel 2002 formula displayed not value formula option not checked Dean Excel Worksheet Functions 1 February 28th 06 02:31 PM
How do I view formula results intead of formula in excel? davidinatlanta Excel Worksheet Functions 4 February 7th 06 03:02 PM
i edit a formula (excel) then it displays formula not answer caiman Excel Discussion (Misc queries) 2 September 9th 05 02:09 AM


All times are GMT +1. The time now is 09:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"