LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Verifying all data in each row is filled in

OK, so I have a spreadsheet with 14 columns of data that need to be
filled in. I need to verify that all the data in the spreadsheet for
each row has been filled in. So I know that I can get the last
physical row filled in with anything:

towhere = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell) .Row

So can use that to loop through. What I'm looking to do is say, if
only 13 of the columns have been filled in for a particular row, place
invalid in the 15th column.

There is a catch though, if the 13th column has a particular value in
it, say ".done", then the 14th column is not required. Not sure
exactly how to go about this as I wasn't sure if there was a simple
way for starters to get a fast count of the number of elements filled
in with data in a given row and if 14 we are good, if 13, check the
relation between column 13 and 14. If 12 or less just give the error.
Not sure if this is the correct approach or what. Any assistance
would be appreciated. Also keep in mind I do not care about any data
in other columns outside that area (i.e. 15 or up), so need a count or
however it should be done of fields filled in before that. Thanks.

JR
 
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
Look up a value from a row after verifying two other values Paul W Excel Worksheet Functions 11 September 1st 08 08:59 PM
Verifying uniqueness of records in data arad Excel Discussion (Misc queries) 4 June 25th 07 05:50 PM
Verifying value of a cell El Criollo Excel Discussion (Misc queries) 7 December 12th 06 10:21 AM
Verifying Dates gilbert Excel Worksheet Functions 1 September 8th 05 03:22 AM
verifying date MacroMan Excel Programming 0 July 30th 03 10:38 PM


All times are GMT +1. The time now is 09:37 AM.

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"