Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Look up data for date range

I have 2 sheets in a workbook, one called data and one called rent roll. Data
has rental increases based on date ranges. I have set up separate columns for
date start, date end and rent and I have 3 sets for rental increases on the
data sheet.

Data sheet ranges: k2=date start1, L2=date start1, M2=rent1, R2=date start2,
S2=date end2, T2=rent2, Y2=rent start3, Z2=rent end3, AA2=rent3

I want to have the rent roll sheet pick up only the rent in effect based on
current report date.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 84
Default Look up data for date range

Pretty sure you can get by with a simple IF formula:

Assuming by "report date" you are entering a date into a cell (or that cell
returns the current date), your rent formula cell would be:

=IF
(AND(K2<=DATECELL,DATECELL<=L2),M2,IF(AND(R2<=DATE CELL,DATECELL<=S2),T2,AA2)

"Lexi" wrote:

I have 2 sheets in a workbook, one called data and one called rent roll. Data
has rental increases based on date ranges. I have set up separate columns for
date start, date end and rent and I have 3 sets for rental increases on the
data sheet.

Data sheet ranges: k2=date start1, L2=date start1, M2=rent1, R2=date start2,
S2=date end2, T2=rent2, Y2=rent start3, Z2=rent end3, AA2=rent3

I want to have the rent roll sheet pick up only the rent in effect based on
current report date.

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
Averaging data if within a date range KellyF Excel Worksheet Functions 6 October 19th 07 03:45 PM
Calculating data within a date range KeK23 Excel Worksheet Functions 4 September 26th 07 01:30 PM
Sum data by date range david72 Excel Discussion (Misc queries) 1 April 24th 06 08:06 AM
Selecting data within a date range mtaylor Excel Worksheet Functions 1 September 1st 05 12:17 PM
Help! Selecting data according to date range redbna Excel Discussion (Misc queries) 0 June 8th 05 06:58 PM


All times are GMT +1. The time now is 07:20 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"