Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-30-2015, 04:47 AM
caz46 caz46 is offline Count if another cell is blank Windows 8 Count if another cell is blank Office 2013
Advanced Beginner
Count if another cell is blank
 
Join Date: Feb 2011
Posts: 73
caz46 is on a distinguished road
Default Count if another cell is blank

Hello,



I have a spreadsheet with a running total and would like to count a sum only if there is an invoice number to the right of the cell.

I have attached the worksheet for you to see what I have created.

I also am having trouble grouping each month, I have subtotalled but although the calculations are correct, when I try to reduce the months down to just the total per month, it does not reduce all the dates.

I would appreciate your help. If I am only meant to ask one question per post, the first is priority.

Thanks
Attached Files
File Type: xlsx Example addif.xlsx (12.3 KB, 18 views)
Reply With Quote
  #2  
Old 11-01-2015, 03:04 PM
macropod's Avatar
macropod macropod is offline Count if another cell is blank Windows 7 64bit Count if another cell is blank Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could insert the following formula into C7 and copy down as far as needed:
=IF(E7<>0,$H$1*(ROW()-MATCH("*",B$1:B6,-1)-1),"")
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 11-02-2015, 02:03 AM
caz46 caz46 is offline Count if another cell is blank Windows 8 Count if another cell is blank Office 2013
Advanced Beginner
Count if another cell is blank
 
Join Date: Feb 2011
Posts: 73
caz46 is on a distinguished road
Default

Hi Paul,

This formula works great up until cell C14 but does not carry down to the other totals, i.e. C32 & C47.

I have tried to make a few minor changes to the formula but can't seem to get it to work.

Any ideas?

Thanks
Reply With Quote
  #4  
Old 11-02-2015, 02:58 AM
macropod's Avatar
macropod macropod is offline Count if another cell is blank Windows 7 64bit Count if another cell is blank Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

As written the formula looks for an invoice amount in column E. I mis-read your requirements. To have it for an invoice # in column D, use:
=IF(D7<>0,$H$1*(ROW()-MATCH("*",B$1:B6,-1)-1),"")
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 11-02-2015, 07:25 AM
caz46 caz46 is offline Count if another cell is blank Windows 8 Count if another cell is blank Office 2013
Advanced Beginner
Count if another cell is blank
 
Join Date: Feb 2011
Posts: 73
caz46 is on a distinguished road
Thumbs up

Worked lovely, thanks :-)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Count if another cell is blank Formulato say if cell is blank do this, if not blank do this. mbesspiata Excel 1 01-17-2015 05:02 AM
Count if another cell is blank How do you count how often a specific value occurs in single changing cell? blackjack Excel 12 09-03-2014 10:41 AM
compare, match and count cell contents between sheets bobsone1 Excel 11 08-07-2014 10:34 PM
won't show blank cell bhum Excel 2 01-28-2014 02:34 AM
Count if another cell is blank How to count multiple values in a single cell, except zero? iuliandonici Excel 1 04-13-2011 09:45 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft