Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Search by columns or by rows

I receive a series of 8 spreadsheets that I clean-up and pretty-up to
go out to the counties. I've been checking the column headers in the
raw data sheets by hand to see if they have the right columns before I
procede to process them. My next macro will do this for me.

I have a choice, and am not sure if it matters or not, but what are, if
any, the advantages of having the spreadsheet names across row 1 and
the column headers for that spreadsheet listed down the column, or
having the spreadsheet names down Col A and the column headers across
the row? I'm not concerned about speed, there are only 8 sheets and the
biggest ones have 21 rows, so speed won't be a factor. Is there any
difference in doing this by rows vs. by columns? In general, are there
advantages or disadvantages to doing things in Excel by row vs. by
column?

Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Search by columns or by rows

There are a lot more rows than there are columns so if your spreadsheet is
going to expand it is far better to have it expand down than it if to have it
expand across.

The other advantage to rows is that they are numbers which makes them a bit
easier to deal with in code. I can do the offsetting in my head (If I am on
row 5 and I offest 10 rows I will be on row 15. If I am in column E and I
offset 10 columns I an in column ???)

In terms of speed there is no advantage either way.
--
HTH...

Jim Thomlinson


"davegb" wrote:

I receive a series of 8 spreadsheets that I clean-up and pretty-up to
go out to the counties. I've been checking the column headers in the
raw data sheets by hand to see if they have the right columns before I
procede to process them. My next macro will do this for me.

I have a choice, and am not sure if it matters or not, but what are, if
any, the advantages of having the spreadsheet names across row 1 and
the column headers for that spreadsheet listed down the column, or
having the spreadsheet names down Col A and the column headers across
the row? I'm not concerned about speed, there are only 8 sheets and the
biggest ones have 21 rows, so speed won't be a factor. Is there any
difference in doing this by rows vs. by columns? In general, are there
advantages or disadvantages to doing things in Excel by row vs. by
column?

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 573
Default Search by columns or by rows

Good points! Hadn't thought of the offsetting in my head. Thanks, Jim.

Jim Thomlinson wrote:
There are a lot more rows than there are columns so if your spreadsheet is
going to expand it is far better to have it expand down than it if to have it
expand across.

The other advantage to rows is that they are numbers which makes them a bit
easier to deal with in code. I can do the offsetting in my head (If I am on
row 5 and I offest 10 rows I will be on row 15. If I am in column E and I
offset 10 columns I an in column ???)

In terms of speed there is no advantage either way.
--
HTH...

Jim Thomlinson


"davegb" wrote:

I receive a series of 8 spreadsheets that I clean-up and pretty-up to
go out to the counties. I've been checking the column headers in the
raw data sheets by hand to see if they have the right columns before I
procede to process them. My next macro will do this for me.

I have a choice, and am not sure if it matters or not, but what are, if
any, the advantages of having the spreadsheet names across row 1 and
the column headers for that spreadsheet listed down the column, or
having the spreadsheet names down Col A and the column headers across
the row? I'm not concerned about speed, there are only 8 sheets and the
biggest ones have 21 rows, so speed won't be a factor. Is there any
difference in doing this by rows vs. by columns? In general, are there
advantages or disadvantages to doing things in Excel by row vs. by
column?

Thanks!



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
how do i paste rows/columns avoiding hidden rows/columns perezli Excel Discussion (Misc queries) 1 January 30th 09 03:58 PM
Setting up Excel to search by columns instead of by rows, by defau Keith Howard Setting up and Configuration of Excel 2 April 27th 08 07:50 PM
Excel 2003 - change columns to rows and rows to columns Trish Excel Discussion (Misc queries) 0 August 17th 07 02:22 AM
Search returning ans in terms of Rows & Columns Will Excel Discussion (Misc queries) 10 April 5th 07 07:53 PM
Search Columns & Rows mully Excel Discussion (Misc queries) 1 February 3rd 06 11:38 AM


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