Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-22-2016, 03:57 PM
jeffreybrown jeffreybrown is offline Loop through a column Windows Vista Loop through a column Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hi Don,



Let's start with this.

=IF(A1<>A2,COUNTIF($A$2:$A$14,A2),"")

I'm guessing you are looking for a macro? You show in your file data starting in row 1, but is row 1 a header row? It would make things a little easier maybe as the formula above starts in B2.

Without seeing the actual full layout, I had to take a guess on your layout. Just press the button and tell me what you think.
Attached Files
File Type: xlsm Forum Example.xlsm (17.6 KB, 8 views)
Reply With Quote
  #2  
Old 09-22-2016, 06:27 PM
k7dm k7dm is offline Loop through a column Windows 7 64bit Loop through a column Office 2007
Novice
Loop through a column
 
Join Date: Sep 2016
Location: Ocean Shores, WA
Posts: 5
k7dm is on a distinguished road
Default Loop through a column

Hi Jeff,

Thanks for your reply. Attached is an updated Excel file with four columns, all of which have headers now. Is the code you sent a macro andif so, how do I execute it?

Thanks again.

Don
Attached Files
File Type: xlsx Forum Example 1.xlsx (10.9 KB, 10 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loop through a column Timeline - loop through all dates between first and last given and add date to column if not found carlos_cs Excel Programming 1 05-03-2016 09:25 AM
Loop through a column documents saved with double column revert to single column when re-opened danw Word 6 04-08-2015 06:24 AM
Loop through a column Embedded Excel in Powerpoint - custom animation, display column by column andytheanimal PowerPoint 2 01-20-2015 06:30 AM
How can I temporarily break a 3 column format in order to type a single column paragraph William P Word 1 01-04-2015 06:40 PM
Want a quotient using a constant to show up in column c each time a number is added to column b fibbermcghee Excel 2 12-09-2014 05:48 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:47 PM.


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