ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sumif statement (https://www.excelbanter.com/excel-discussion-misc-queries/72202-sumif-statement.html)

JR573PUTT

sumif statement
 

I am trying to reference a detail sheet to a summary sheet:

detail sheet
a b
number occurence
4 7
5 6


summary sheet:

a b c d e
4 6 7 10 1

I want a formula on the summary sheet to look up the occurence of 4,
and return a value of 7 for the number 4.

I was trying some sumif formulas with no successs


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513424


Pete_UK

sumif statement
 
Is the number 4 only likely to occur once in your detail sheet? If so,
you can use the VLOOKUP( ) function in the summary sheet to look for a
match in the detail sheet and return a corresponding value from the
same row. I'm not sure, though, what your example summary sheet is
meant to represent, or how the letters are related to the detail sheet.
If you can come back with some further details then i will be able to
elaborate on my suggestion.

Pete


Bob Phillips

sumif statement
 
Why does 4 return 7, and 5 return 6?

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"JR573PUTT" wrote
in message ...

I am trying to reference a detail sheet to a summary sheet:

detail sheet
a b
number occurence
4 7
5 6


summary sheet:

a b c d e
4 6 7 10 1

I want a formula on the summary sheet to look up the occurence of 4,
and return a value of 7 for the number 4.

I was trying some sumif formulas with no successs


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile:

http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513424




Pete_UK

sumif statement
 
I dunno!

Pete


joytickle

sumif statement
 

use the formula "countif", set the criteria "4"


--
joytickle
------------------------------------------------------------------------
joytickle's Profile: http://www.excelforum.com/member.php...o&userid=31658
View this thread: http://www.excelforum.com/showthread...hreadid=513424


JR573PUTT

sumif statement
 

Bob,

We sell 4 - 7 times during a day, so we want to now how many times we
sale 4 items to one customer, hope that helps.

Also the vlookup would not work because the left column has to be in
numeric ascending order, and this worksheet would not be that way.

So I figured it out on my own using the index match function.


--
JR573PUTT
------------------------------------------------------------------------
JR573PUTT's Profile: http://www.excelforum.com/member.php...o&userid=31587
View this thread: http://www.excelforum.com/showthread...hreadid=513424



All times are GMT +1. The time now is 08:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com