Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Help with SUM and IF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amstro - 31 Oct 2006 00:21 GMT
Hello friends: I have a small problem. I am a novide at Excel so please bear
with me. I ahve an excel worksheet with around 500 rows. Column X has all
number values (EX: 0.0245, 0.0354, 1000, 22 etc) and Colum Y has string
values (EX: "ab", "xy", "john" and "Q3"). The string values repeat themselves
but not in any known sequence. Its just random. I want excel to report the
sum of all the numbers in Column X that correspond to string "ab" and do the
same for all the other strings. So finally I would get an output of 5
separate numbers for "ab", "xy", "john" and "Q3".
Please help. Thanks for all the help in advance.

Amstro.
Biff - 31 Oct 2006 00:30 GMT
Hi!

Try this:

Make a list of the unique strings from column Y:

A1 = ab
A2 = xy
A3 = john
A4 = Q3

Then, in B1:

=SUMIF(Y$1:Y$500,A1,X$1:X$500)

Copy down to B4.

Biff

> Hello friends: I have a small problem. I am a novide at Excel so please
> bear
[quoted text clipped - 10 lines]
>
> Amstro.
Amstro - 31 Oct 2006 01:02 GMT
Thanks a lot Biff. This works perfect.

TY.

> Hi!
>
[quoted text clipped - 29 lines]
> >
> > Amstro.
Biff - 31 Oct 2006 03:59 GMT
You're welcome. Thanks for the feedback!

Biff

> Thanks a lot Biff. This works perfect.
>
[quoted text clipped - 36 lines]
>> >
>> > Amstro.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.