Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old February 20th 19, 12:57 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2018
Posts: 5
Default copying down while changing columns

In one cell I have the following formula: =COUNTA(B2:B1000). Copying down I like ti to change the column to

=COUNTA(C2:C1000)
=COUNTA(D21000) and so on.

I have tried OFFSET and TRANSPOSE but can't get it to work.

Any ideaes?

Jan

  #2   Report Post  
Old February 20th 19, 01:08 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2011
Posts: 3,669
Default copying down while changing columns

Hi Jan,

Am Wed, 20 Feb 2019 04:57:16 -0800 (PST) schrieb Daddy Sage:

In one cell I have the following formula: =COUNTA(B2:B1000). Copying down I like ti to change the column to

=COUNTA(C2:C1000)
=COUNTA(D21000) and so on.


for column B try:
=COUNTA(OFFSET($B$1,,ROW(A1)-1,1000))
ans copy down.


Regards
Claus B.
--
Windows10
Office 2016
  #3   Report Post  
Old February 20th 19, 02:29 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2018
Posts: 5
Default copying down while changing columns

onsdag den 20. februar 2019 kl. 14.08.16 UTC+1 skrev Claus Busch:
Hi Jan,

Am Wed, 20 Feb 2019 04:57:16 -0800 (PST) schrieb Daddy Sage:

In one cell I have the following formula: =COUNTA(B2:B1000). Copying down I like ti to change the column to

=COUNTA(C2:C1000)
=COUNTA(D21000) and so on.


for column B try:
=COUNTA(OFFSET($B$1,,ROW(A1)-1,1000))
ans copy down.


Regards
Claus B.
--
Windows10
Office 2016


In columns b I have 6 values, in column C I have 10 values and in column C I have 8 values.

If I enter the fomular in E2 and copy down it just counts everything ad zeroes.
  #4   Report Post  
Old February 20th 19, 03:03 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Apr 2011
Posts: 3,669
Default copying down while changing columns

Hi Jan,

Am Wed, 20 Feb 2019 06:29:45 -0800 (PST) schrieb Daddy Sage:

In columns b I have 6 values, in column C I have 10 values and in column C I have 8 values.

If I enter the fomular in E2 and copy down it just counts everything ad zeroes.


perhaps I misunderstood your problem.
Have a look:
https://1drv.ms/x/s!AqMiGBK2qniTgeEvzHYYFajvtt5kWg


Regards
Claus B.
--
Windows10
Office 2016
  #5   Report Post  
Old February 22nd 19, 01:41 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2018
Posts: 5
Default copying down while changing columns

onsdag den 20. februar 2019 kl. 16.03.06 UTC+1 skrev Claus Busch:
Hi Jan,

Am Wed, 20 Feb 2019 06:29:45 -0800 (PST) schrieb Daddy Sage:

In columns b I have 6 values, in column C I have 10 values and in column C I have 8 values.

If I enter the fomular in E2 and copy down it just counts everything ad zeroes.


perhaps I misunderstood your problem.
Have a look:
https://1drv.ms/x/s!AqMiGBK2qniTgeEvzHYYFajvtt5kWg


Regards
Claus B.
--
Windows10
Office 2016


Sorry it took me a while to get back to you, I have been away from the computer. But what you shows is exactly what I'm looking for. On my home computer it works exactly as it shows, but on my computer at work it counted every columns as zero. Strange as I use the same version (Excel 2016) on both comoputers.

Jan


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
Retrieving Current Row,Columns & copying Format from Row,Columns a Chris Maddogz Excel Programming 2 May 28th 09 07:36 AM
copying formulas but changing the column # lynnydyns Excel Discussion (Misc queries) 2 September 6th 08 03:18 AM
copying VLOOKUP w/o changing formula rldjda Excel Worksheet Functions 2 February 7th 07 02:07 AM
copying changing range Mifty Excel Programming 5 February 25th 06 11:31 PM
Copying a formula and changing ONE value... JSA Excel Worksheet Functions 2 February 18th 05 05:13 AM


All times are GMT +1. The time now is 12:41 AM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017