Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how can I use an hlookup in a sumif?

I have 3 rows of data as follows.

The first row (f1:Ai1), contains dates in the format mm/dd.
The second row (f2:ai2), contains a number representing some amount of time
in minutes, as an example 6 hours would be 360, 7 hours would be 420.
The third row is an interger representing sequential days worked in a given
period of time. 1, 2, 3 ...30.

I have an Hlookup table that looks at the system clock (=today()) and the
three rows mentioned above to determine the sequential of todays date. This
is in cell AR3.

In cell, D5 I would like to use the sumif function to determine how many
minutes total from cell F2 to and including the current day.

Here is what does not work for me sumif(f1:aI1,"<=AR3",f2:ai2). I am open
to any suggestions.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default how can I use an hlookup in a sumif?

If I'm reading this correctly, that cell AR3 holds a sequential, not a date
(mm/dd), then your formula should be:

=sumif(f3:ai3,"<=AR3",f2:ai2)

If that doesn't do it, let us know if you're getting an error or incorrect
result, etc.

Thanks.
--
Mike Lee
McKinney,TX USA


"JMallo" wrote:

I have 3 rows of data as follows.

The first row (f1:Ai1), contains dates in the format mm/dd.
The second row (f2:ai2), contains a number representing some amount of time
in minutes, as an example 6 hours would be 360, 7 hours would be 420.
The third row is an interger representing sequential days worked in a given
period of time. 1, 2, 3 ...30.

I have an Hlookup table that looks at the system clock (=today()) and the
three rows mentioned above to determine the sequential of todays date. This
is in cell AR3.

In cell, D5 I would like to use the sumif function to determine how many
minutes total from cell F2 to and including the current day.

Here is what does not work for me sumif(f1:aI1,"<=AR3",f2:ai2). I am open
to any suggestions.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default how can I use an hlookup in a sumif?

Since AR3 is a cell reference,

=sumif(f3:ai3,"<="&AR3,f2:ai2)


"mikelee101" wrote:

If I'm reading this correctly, that cell AR3 holds a sequential, not a date
(mm/dd), then your formula should be:

=sumif(f3:ai3,"<=AR3",f2:ai2)

If that doesn't do it, let us know if you're getting an error or incorrect
result, etc.

Thanks.
--
Mike Lee
McKinney,TX USA


"JMallo" wrote:

I have 3 rows of data as follows.

The first row (f1:Ai1), contains dates in the format mm/dd.
The second row (f2:ai2), contains a number representing some amount of time
in minutes, as an example 6 hours would be 360, 7 hours would be 420.
The third row is an interger representing sequential days worked in a given
period of time. 1, 2, 3 ...30.

I have an Hlookup table that looks at the system clock (=today()) and the
three rows mentioned above to determine the sequential of todays date. This
is in cell AR3.

In cell, D5 I would like to use the sumif function to determine how many
minutes total from cell F2 to and including the current day.

Here is what does not work for me sumif(f1:aI1,"<=AR3",f2:ai2). I am open
to any suggestions.

Thanks

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
How to use SUMIF to return sums between two values located in cells ScottBerger Excel Worksheet Functions 2 April 23rd 23 09:05 PM
Sumif of Sumif perhaps? Fred Excel Discussion (Misc queries) 2 March 29th 06 05:39 PM
SUMIF Ferg Excel Worksheet Functions 3 February 28th 06 03:37 AM
I've tried Sumproduct, SumIf, Vlookup and Hlookup. Steved Excel Worksheet Functions 5 July 19th 05 11:46 PM
SUMIF - HLOOKUP Combination Mark Excel Worksheet Functions 1 February 4th 05 08:03 PM


All times are GMT +1. The time now is 12:19 PM.

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

About Us

"It's about Microsoft Excel"