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 If statements looking for nonblank cells

I need a formula to tell me which reports had a notification associated with
them. The spreadsheet is set up like such:

A B
1 4 300456
2 3 300258
3 1

Where Cells A1,A2 and A3 contain the type of report (1 to 11) and B cells
have a notification number if there is one. I need the formula to go through
my spreadsheet and tell me report #3 had one notification.

Any help would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default If statements looking for nonblank cells

Try this:

A2:A20 = report type (numbers 1 to 11)
B2:B20 = notification number if there is one

Enter this formula in say, D2:

=ROWS(D$2:D2)

Enter this formula in E2:

=SUMPRODUCT(--(A$2:A$20=D2),--(B$2:B$20<""))

Select both D2 and E2 then copy down to D12:E12

D2:D12 will return the report types in ascending sequential order and E2:E12
will return the counts.

--
Biff
Microsoft Excel MVP


"Mok721" wrote in message
...
I need a formula to tell me which reports had a notification associated
with
them. The spreadsheet is set up like such:

A B
1 4 300456
2 3 300258
3 1

Where Cells A1,A2 and A3 contain the type of report (1 to 11) and B cells
have a notification number if there is one. I need the formula to go
through
my spreadsheet and tell me report #3 had one notification.

Any help would be greatly appreciated.



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
sum value of nonblank discontinuous cells stumped New Users to Excel 3 February 29th 08 03:27 PM
Adding only NONBLANK cells Troubled Excel Discussion (Misc queries) 2 October 13th 07 04:39 PM
tally of nonblank cells AustinMom Excel Worksheet Functions 3 August 31st 06 09:00 PM
counting nonblank cells sbrimley Excel Worksheet Functions 7 May 18th 05 10:22 AM
Adding NonBlank Cells Emily8 Excel Worksheet Functions 3 January 4th 05 06:16 PM


All times are GMT +1. The time now is 05:56 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"