Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2016, 01:55 PM
jborchel jborchel is offline Conditional Line Numbering? Windows Vista Conditional Line Numbering? Office 2000
Novice
Conditional Line Numbering?
 
Join Date: Dec 2012
Posts: 8
jborchel is on a distinguished road
Default Conditional Line Numbering?

I have a spreadsheet that is an master enrollment form for an event. As I add attendees I would basically like to index numbers in a column called "Headcount" which is Column G. Since the names are listed in Col. A under each attendee's local organization I can't just count the number of entries in Column A. However, I do have Column D, which is their email address, and that can be used for counting. So the formula in Column G would look something like this:



"If column D has an entry in it count this line as 1"

Then that formula would add 1 to the number in the line above it and display the result.

I hope this request is understandable and the function is possible. Please ask any question that will help with the understanding. I think this request is fairly simple for someone who is an advanced Excel user. It's just above my head. I tried find it in the Formulas section and didn't see anything that look appropriate.

Thanks for any help that can be provided.
Reply With Quote
  #2  
Old 07-06-2016, 08:41 PM
xor xor is offline Conditional Line Numbering? Windows 10 Conditional Line Numbering? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

In E2: =IF(D2="","",COUNTA($D$22)) (I don't know how to avoid this ugly green thing, but text inside parenthesis should read from $D$2 to D2)

Copy down.
Reply With Quote
  #3  
Old 07-06-2016, 11:22 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Conditional Line Numbering? Windows 7 64bit Conditional Line Numbering? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

To avoid the smiley, I use lowercase ":d2"
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 07-06-2016, 11:37 PM
xor xor is offline Conditional Line Numbering? Windows 10 Conditional Line Numbering? Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Thank you Pecoflyer!
Reply With Quote
  #5  
Old 07-07-2016, 02:34 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Conditional Line Numbering? Windows 7 64bit Conditional Line Numbering? Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Con piacere dottore
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #6  
Old 07-07-2016, 06:59 AM
gebobs gebobs is offline Conditional Line Numbering? Windows 7 64bit Conditional Line Numbering? Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Why the indexed headcount? Wouldn't just a single headcount suffice?
Reply With Quote
  #7  
Old 07-08-2016, 09:35 AM
jborchel jborchel is offline Conditional Line Numbering? Windows Vista Conditional Line Numbering? Office 2000
Novice
Conditional Line Numbering?
 
Join Date: Dec 2012
Posts: 8
jborchel is on a distinguished road
Default

It worked like a charm! Thanks so much!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Line Numbering? Line Numbering & Blank Lines Ephasa Word 9 04-30-2020 02:09 PM
Suppress Line Numbering ahosner Word 0 02-05-2015 02:48 PM
Conditional Line Numbering? How can I get line numbering in footnotes wordhelp321 Word 1 05-19-2014 03:12 PM
Trying to add line numbering hanajack Word 1 06-07-2013 02:33 PM
Conditional Line Numbering? Line numbering dporter Word 1 06-25-2010 12:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:33 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