PC Review


Reply
Thread Tools Rate Thread

How do I make it add a column based on 2 different criteria?

 
 
=?Utf-8?B?TGVzbGllIE0=?=
Guest
Posts: n/a
 
      1st Mar 2006
I am trying to add sales gross for individual salespeople, and break it down
by new vehicles vs. used vehicles. I have a column set up for the sales
people, a column set up for the type (N or U), and a column set up for the
gross that I want to add. I can make it add up the gross of new vs. used
using the sumif function, but I don't know how to make it do "if this = this,
and this = this, then add this through this". Does that make sense? I'm sure
it's not as hard as I'm making it out to be. Can anyone help?

Thanks!
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      1st Mar 2006
=SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)

Note that SUMPRODUCT doesn't work with complete columns, you have to specify
a range.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Leslie M" <Leslie (E-Mail Removed)> wrote in message
news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> I am trying to add sales gross for individual salespeople, and break it

down
> by new vehicles vs. used vehicles. I have a column set up for the sales
> people, a column set up for the type (N or U), and a column set up for the
> gross that I want to add. I can make it add up the gross of new vs. used
> using the sumif function, but I don't know how to make it do "if this =

this,
> and this = this, then add this through this". Does that make sense? I'm

sure
> it's not as hard as I'm making it out to be. Can anyone help?
>
> Thanks!



 
Reply With Quote
 
=?Utf-8?B?TGVzbGllIE0=?=
Guest
Posts: n/a
 
      1st Mar 2006
When I type that formula in, it's coming up as $0.00 which isn't right. I'm
probably missing something- any ideas?

"Bob Phillips" wrote:

> =SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)
>
> Note that SUMPRODUCT doesn't work with complete columns, you have to specify
> a range.
>
> --
> HTH
>
> Bob Phillips
>
> (remove nothere from email address if mailing direct)
>
> "Leslie M" <Leslie (E-Mail Removed)> wrote in message
> news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> > I am trying to add sales gross for individual salespeople, and break it

> down
> > by new vehicles vs. used vehicles. I have a column set up for the sales
> > people, a column set up for the type (N or U), and a column set up for the
> > gross that I want to add. I can make it add up the gross of new vs. used
> > using the sumif function, but I don't know how to make it do "if this =

> this,
> > and this = this, then add this through this". Does that make sense? I'm

> sure
> > it's not as hard as I'm making it out to be. Can anyone help?
> >
> > Thanks!

>
>
>

 
Reply With Quote
 
=?Utf-8?B?TGVzbGllIE0=?=
Guest
Posts: n/a
 
      1st Mar 2006
I got it to work... thanks for your help!! )

"Bob Phillips" wrote:

> =SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)
>
> Note that SUMPRODUCT doesn't work with complete columns, you have to specify
> a range.
>
> --
> HTH
>
> Bob Phillips
>
> (remove nothere from email address if mailing direct)
>
> "Leslie M" <Leslie (E-Mail Removed)> wrote in message
> news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> > I am trying to add sales gross for individual salespeople, and break it

> down
> > by new vehicles vs. used vehicles. I have a column set up for the sales
> > people, a column set up for the type (N or U), and a column set up for the
> > gross that I want to add. I can make it add up the gross of new vs. used
> > using the sumif function, but I don't know how to make it do "if this =

> this,
> > and this = this, then add this through this". Does that make sense? I'm

> sure
> > it's not as hard as I'm making it out to be. Can anyone help?
> >
> > Thanks!

>
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      1st Mar 2006
Can you tell us what the problem was just in case someone else gets it?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Leslie M" <(E-Mail Removed)> wrote in message
news:70823A3F-E533-4A2E-BA2E-(E-Mail Removed)...
> I got it to work... thanks for your help!! )
>
> "Bob Phillips" wrote:
>
> > =SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)
> >
> > Note that SUMPRODUCT doesn't work with complete columns, you have to

specify
> > a range.
> >
> > --
> > HTH
> >
> > Bob Phillips
> >
> > (remove nothere from email address if mailing direct)
> >
> > "Leslie M" <Leslie (E-Mail Removed)> wrote in message
> > news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> > > I am trying to add sales gross for individual salespeople, and break

it
> > down
> > > by new vehicles vs. used vehicles. I have a column set up for the

sales
> > > people, a column set up for the type (N or U), and a column set up for

the
> > > gross that I want to add. I can make it add up the gross of new vs.

used
> > > using the sumif function, but I don't know how to make it do "if this

=
> > this,
> > > and this = this, then add this through this". Does that make sense?

I'm
> > sure
> > > it's not as hard as I'm making it out to be. Can anyone help?
> > >
> > > Thanks!

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?TGVzbGllIE0=?=
Guest
Posts: n/a
 
      11th Sep 2006
I had the salespeople identified by their sales numbers, not their names, and
therefore the quotes had to be removed around the number

"Bob Phillips" wrote:

> Can you tell us what the problem was just in case someone else gets it?
>
> --
> HTH
>
> Bob Phillips
>
> (remove nothere from email address if mailing direct)
>
> "Leslie M" <(E-Mail Removed)> wrote in message
> news:70823A3F-E533-4A2E-BA2E-(E-Mail Removed)...
> > I got it to work... thanks for your help!! )
> >
> > "Bob Phillips" wrote:
> >
> > > =SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)
> > >
> > > Note that SUMPRODUCT doesn't work with complete columns, you have to

> specify
> > > a range.
> > >
> > > --
> > > HTH
> > >
> > > Bob Phillips
> > >
> > > (remove nothere from email address if mailing direct)
> > >
> > > "Leslie M" <Leslie (E-Mail Removed)> wrote in message
> > > news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> > > > I am trying to add sales gross for individual salespeople, and break

> it
> > > down
> > > > by new vehicles vs. used vehicles. I have a column set up for the

> sales
> > > > people, a column set up for the type (N or U), and a column set up for

> the
> > > > gross that I want to add. I can make it add up the gross of new vs.

> used
> > > > using the sumif function, but I don't know how to make it do "if this

> =
> > > this,
> > > > and this = this, then add this through this". Does that make sense?

> I'm
> > > sure
> > > > it's not as hard as I'm making it out to be. Can anyone help?
> > > >
> > > > Thanks!
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
=?Utf-8?B?TGVzbGllIE0=?=
Guest
Posts: n/a
 
      11th Sep 2006
I had the salespeople identified by their sales numbers, not their names, and
therefore the quotes had to be removed around the number

"Bob Phillips" wrote:

> Can you tell us what the problem was just in case someone else gets it?
>
> --
> HTH
>
> Bob Phillips
>
> (remove nothere from email address if mailing direct)
>
> "Leslie M" <(E-Mail Removed)> wrote in message
> news:70823A3F-E533-4A2E-BA2E-(E-Mail Removed)...
> > I got it to work... thanks for your help!! )
> >
> > "Bob Phillips" wrote:
> >
> > > =SUMPRODUCT(--(A1:A100="Bob"),--(B1:B100="N"),C1:C100)
> > >
> > > Note that SUMPRODUCT doesn't work with complete columns, you have to

> specify
> > > a range.
> > >
> > > --
> > > HTH
> > >
> > > Bob Phillips
> > >
> > > (remove nothere from email address if mailing direct)
> > >
> > > "Leslie M" <Leslie (E-Mail Removed)> wrote in message
> > > news:7679DD4A-3C60-4879-9AB4-(E-Mail Removed)...
> > > > I am trying to add sales gross for individual salespeople, and break

> it
> > > down
> > > > by new vehicles vs. used vehicles. I have a column set up for the

> sales
> > > > people, a column set up for the type (N or U), and a column set up for

> the
> > > > gross that I want to add. I can make it add up the gross of new vs.

> used
> > > > using the sumif function, but I don't know how to make it do "if this

> =
> > > this,
> > > > and this = this, then add this through this". Does that make sense?

> I'm
> > > sure
> > > > it's not as hard as I'm making it out to be. Can anyone help?
> > > >
> > > > Thanks!
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Based on Mulipple Criteria acrossed Column count last column LBitler Microsoft Excel Worksheet Functions 1 12th Feb 2009 06:58 PM
Sum specific column rows based on 2 different column criteria Jack Microsoft Excel Worksheet Functions 3 9th Oct 2008 05:03 PM
Counting items in one column based on criteria in another column luttona Microsoft Excel Worksheet Functions 3 13th Jun 2008 06:00 PM
calculate average in a column based on criteria in another column =?Utf-8?B?c2hhcm9uIHQ=?= Microsoft Excel Misc 2 12th May 2006 06:07 PM
move contents of column C based on criteria related to column A =?Utf-8?B?RGVicmE=?= Microsoft Excel Misc 2 27th Dec 2005 10:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:41 AM.