![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 8
|
This should be simple. I am trying to only certain numbers in a row if they correlate with a range of dates in the row above them. I have tried the following formulas:
1. =IF(AND(D5:R5>=A44,D5:R5 2. =SUMIF(D5:R5,">=A44, SOMEONE PLEASE HELP! [ This Message was edited by: Dukester on 2002-05-25 15:03 ] |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=SUMIF(D5:R5,">="&A44,D6:R6)-SUMIF(D5:R5,">"&A45,D6:R6) [ This Message was edited by: Aladin Akyurek on 2002-05-25 15:08 ] |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: May 2002
Posts: 8
|
I believe some of your formula was cut off. mine was too until I disabled the HTML, BBcode, and Smilies (I edited it). Please try again. I would greatly appreciate it.
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
=SUMIF(D5:R5,">="&A44,D6:R6)-SUMIF(D5:R5,">"&A45,D6:R6) |
|
|
|
|
|
|
#5 |
|
New Member
Join Date: May 2002
Posts: 8
|
The following formula provided me a date, not a sum of numbers:
=SUMIF(D5:R5,">="&A44,D6:R6)-SUMIF(D5:R5,"<"&A45,D6:R6) |
|
|
|
|
|
#6 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
|
|
|
|
|
|
|
#7 |
|
New Member
Join Date: May 2002
Posts: 8
|
I got your formula to work with a minor modification, but it gives me a date rather than a number for some reason. When I manually change the cell format to "number" it then gives me the proper calculation. Do you know why?
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|