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 / June 2006

Tip: Looking for answers? Try searching our database.

if function help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gina_b - 20 Jun 2006 00:06 GMT
Hi there,

I've got a small table of financial data that I want to summarize on a
second worksheet in the same workbook.  A sample of the table is right
below.

I'd like to say if Column C = 1 and Column D = Editorial, then retrieve
the total number of the Invoice Amount for those rows in Column C.  All
of these columns are on sheetone of my workbook, and I'm creating the
formula on sheettwo within the same workbook.

I've got this formual below, but it's not giving me any results.  In
this case, the total should be 90,000, but I get nothing.  Is there
something wrong in the formula?  Is there something happening because
I'm putting this formula on a different worksheet?

=IF(AND('sheetone'!c:c="1",'sheetone'!d:d="Editorial"),'sheetone'!b:b,"")

Thanks!!!!

Gina

a        /                 b               /          c              
/       d

Vendor     /         InvoiceAmount    /Qtr(s) of Inv    /Budget Group
VendorOne/    90,000.00    /1             /   Editorial
VendorTwo    /27,000.00    /4             /   Consultants
VendorThree    /87,000.00    /2              /  Editorial

Signature

gina_b

MarkN - 20 Jun 2006 00:45 GMT
Gina,

How about
=SUMPRODUCT(--(C2:C5=1),--(D2:D5 ="Editorial"),B2:B5)
Signature

Hope that helps,
MarkN

> Hi there,
>
[quoted text clipped - 25 lines]
> VendorTwo    /27,000.00    /4             /   Consultants
> VendorThree    /87,000.00    /2              /  Editorial
gina_b - 20 Jun 2006 01:52 GMT
Thanks MarkN!!

This worked and is much more streamlined than the long formula I ha
earlier.  Thank you so much!

Gin
 
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



©2009 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.