#1   Report Post  
Jim
 
Posts: n/a
Default help!

I need to know if this can be done. On sheet 2 I have 3 columns (A,B,C);
date from, date to and interest rate. I need a formula that would allow me
on sheet 1 to input a date in one cell (D8) and have the corresponding
interest rate (as shown on sheet 2) appear in another (F8). I've been
messin with this for weeks and am at my wits end :)

Thanks, Jim


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

As long as the dates don't overlap you could use

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),C2:C200)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim" wrote in message
news:cHH_e.314911$on1.250098@clgrps13...
I need to know if this can be done. On sheet 2 I have 3 columns (A,B,C);
date from, date to and interest rate. I need a formula that would allow me
on sheet 1 to input a date in one cell (D8) and have the corresponding
interest rate (as shown on sheet 2) appear in another (F8). I've been
messin with this for weeks and am at my wits end :)

Thanks, Jim




  #3   Report Post  
Jim
 
Posts: n/a
Default

Didn't work, I tried

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),(Sheet2!C2:C200)


didn't work either :(

Thanks, Jim

"Bob Phillips" wrote in message
...
As long as the dates don't overlap you could use

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),C2:C200)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim" wrote in message
news:cHH_e.314911$on1.250098@clgrps13...
I need to know if this can be done. On sheet 2 I have 3 columns (A,B,C);
date from, date to and interest rate. I need a formula that would allow

me
on sheet 1 to input a date in one cell (D8) and have the corresponding
interest rate (as shown on sheet 2) appear in another (F8). I've been
messin with this for weeks and am at my wits end :)

Thanks, Jim






  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Bad logic. Try


=SUMPRODUCT(--(Sheet2!A2:A200<=D8),--(Sheet2!B2:B200=D8),Sheet2!C2:C200)


In article <1qV_e.283104$tt5.215852@edtnps90,
"Jim" wrote:

Didn't work, I tried

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),(Sheet2!C2:C200)


didn't work either :(

Thanks, Jim

"Bob Phillips" wrote in message
...
As long as the dates don't overlap you could use

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),C2:C200)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim" wrote in message
news:cHH_e.314911$on1.250098@clgrps13...
I need to know if this can be done. On sheet 2 I have 3 columns (A,B,C);
date from, date to and interest rate. I need a formula that would allow

me
on sheet 1 to input a date in one cell (D8) and have the corresponding
interest rate (as shown on sheet 2) appear in another (F8). I've been
messin with this for weeks and am at my wits end :)

Thanks, Jim




  #5   Report Post  
Jim
 
Posts: n/a
Default

Neither works, getting #REF errors, I tried changing it slighly to match the
cells I actually use in the columns to no avail.. Just to make sure as I
have limited experience with excel, I am entering this formula into F8 cell
on sheet1 (Where I want the results to show)

=SUMPRODUCT(--(Sheet2!A3:A36=D8),--(Sheet2!B3:B36<=D8),C3:C36)


Jim

"JE McGimpsey" wrote in message
...
Bad logic. Try


=SUMPRODUCT(--(Sheet2!A2:A200<=D8),--(Sheet2!B2:B200=D8),Sheet2!C2:C200)


In article <1qV_e.283104$tt5.215852@edtnps90,
"Jim" wrote:

Didn't work, I tried


=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),(Sheet2!C2:C200)

didn't work either :(

Thanks, Jim

"Bob Phillips" wrote in message
...
As long as the dates don't overlap you could use

=SUMPRODUCT(--(Sheet2!A2:A200=D8),--(Sheet2!B2:B200<=D8),C2:C200)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim" wrote in message
news:cHH_e.314911$on1.250098@clgrps13...
I need to know if this can be done. On sheet 2 I have 3 columns

(A,B,C);
date from, date to and interest rate. I need a formula that would

allow
me
on sheet 1 to input a date in one cell (D8) and have the

corresponding
interest rate (as shown on sheet 2) appear in another (F8). I've

been
messin with this for weeks and am at my wits end :)

Thanks, Jim








  #6   Report Post  
JE McGimpsey
 
Posts: n/a
Default

The formula I gave you works fine in a test workbook. Again, the
comparisons you're making are inverted logic - the comparisons should be

<start date range <=D8

and

<end date range =D8

The #REF! error would indicate that your references were bad - are you
sure that your sheet is named "Sheet2"?


In article <_GY_e.283159$tt5.57408@edtnps90,
"Jim" wrote:

Neither works, getting #REF errors, I tried changing it slighly to match the
cells I actually use in the columns to no avail.. Just to make sure as I
have limited experience with excel, I am entering this formula into F8 cell
on sheet1 (Where I want the results to show)

=SUMPRODUCT(--(Sheet2!A3:A36=D8),--(Sheet2!B3:B36<=D8),C3:C36)

  #7   Report Post  
Jim
 
Posts: n/a
Default

That was embarrassing, lol.
I'm getting a response altho it's not returning the same interest rate as on
"Sheet2". On the first date range it's showing 89.75% when it should be 9%.
Somethings getting lost in the translation, however I'm closer than I've
been todate and thats a big step forward.

Thanks for your help, Jim

"JE McGimpsey" wrote in message
...
The formula I gave you works fine in a test workbook. Again, the
comparisons you're making are inverted logic - the comparisons should be

<start date range <=D8

and

<end date range =D8

The #REF! error would indicate that your references were bad - are you
sure that your sheet is named "Sheet2"?


In article <_GY_e.283159$tt5.57408@edtnps90,
"Jim" wrote:

Neither works, getting #REF errors, I tried changing it slighly to match

the
cells I actually use in the columns to no avail.. Just to make sure as I
have limited experience with excel, I am entering this formula into F8

cell
on sheet1 (Where I want the results to show)

=SUMPRODUCT(--(Sheet2!A3:A36=D8),--(Sheet2!B3:B36<=D8),C3:C36)



  #8   Report Post  
Bob Phillips
 
Posts: n/a
Default

Are you sure that there is only one rate that matches the date in D8. If
there are many, this formula will sum them.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Jim" wrote in message
news:pqd%e.319610$on1.77599@clgrps13...
That was embarrassing, lol.
I'm getting a response altho it's not returning the same interest rate as

on
"Sheet2". On the first date range it's showing 89.75% when it should be

9%.
Somethings getting lost in the translation, however I'm closer than I've
been todate and thats a big step forward.

Thanks for your help, Jim

"JE McGimpsey" wrote in message
...
The formula I gave you works fine in a test workbook. Again, the
comparisons you're making are inverted logic - the comparisons should be

<start date range <=D8

and

<end date range =D8

The #REF! error would indicate that your references were bad - are you
sure that your sheet is named "Sheet2"?


In article <_GY_e.283159$tt5.57408@edtnps90,
"Jim" wrote:

Neither works, getting #REF errors, I tried changing it slighly to

match
the
cells I actually use in the columns to no avail.. Just to make sure as

I
have limited experience with excel, I am entering this formula into F8

cell
on sheet1 (Where I want the results to show)

=SUMPRODUCT(--(Sheet2!A3:A36=D8),--(Sheet2!B3:B36<=D8),C3:C36)





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



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