Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default ROWS works but I want one less row result

Hi All

Using the formula (excel 2007) below (thanks Max) I'm trying to duplicate
the contents of cell A12 (row 1 of my data) into the cells below it for the
number of rows corresponding to the value found in F2.

For instance F2 = 9 then once I enter any number into A12 I want that to
copy down another 8 rows.

The problem is that it copies one extra than I need. (because the formula
says to)

=IF(ROWS($1:1)$F$2,"",$A$12+ROWS($1:1)*0)

Adjustment appreciated. Thanks.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ROWS works but I want one less row result

I assume you're entering the formula in A13 and copying down:

=IF($A$12="","",IF(ROWS(A$12:A13)$F$2,"",$A$12))


--
Biff
Microsoft Excel MVP


"Drew" wrote in message
...
Hi All

Using the formula (excel 2007) below (thanks Max) I'm trying to duplicate
the contents of cell A12 (row 1 of my data) into the cells below it for
the number of rows corresponding to the value found in F2.

For instance F2 = 9 then once I enter any number into A12 I want that to
copy down another 8 rows.

The problem is that it copies one extra than I need. (because the formula
says to)

=IF(ROWS($1:1)$F$2,"",$A$12+ROWS($1:1)*0)

Adjustment appreciated. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default ROWS works but I want one less row result

Bill ... fantastic ... thanks heaps.

"T. Valko" wrote in message
...
I assume you're entering the formula in A13 and copying down:

=IF($A$12="","",IF(ROWS(A$12:A13)$F$2,"",$A$12))


--
Biff
Microsoft Excel MVP


"Drew" wrote in message
...
Hi All

Using the formula (excel 2007) below (thanks Max) I'm trying to duplicate
the contents of cell A12 (row 1 of my data) into the cells below it for
the number of rows corresponding to the value found in F2.

For instance F2 = 9 then once I enter any number into A12 I want that to
copy down another 8 rows.

The problem is that it copies one extra than I need. (because the formula
says to)

=IF(ROWS($1:1)$F$2,"",$A$12+ROWS($1:1)*0)

Adjustment appreciated. Thanks.





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ROWS works but I want one less row result

You're welcome!

--
Biff
Microsoft Excel MVP


"Drew" wrote in message
...
Bill ... fantastic ... thanks heaps.

"T. Valko" wrote in message
...
I assume you're entering the formula in A13 and copying down:

=IF($A$12="","",IF(ROWS(A$12:A13)$F$2,"",$A$12))


--
Biff
Microsoft Excel MVP


"Drew" wrote in message
...
Hi All

Using the formula (excel 2007) below (thanks Max) I'm trying to
duplicate the contents of cell A12 (row 1 of my data) into the cells
below it for the number of rows corresponding to the value found in F2.

For instance F2 = 9 then once I enter any number into A12 I want that to
copy down another 8 rows.

The problem is that it copies one extra than I need. (because the
formula says to)

=IF(ROWS($1:1)$F$2,"",$A$12+ROWS($1:1)*0)

Adjustment appreciated. 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
dragging formula works for columns but not rows? Meenie Excel Discussion (Misc queries) 2 March 19th 08 02:15 PM
How do I get rid of blank rows between data and Ctrl End result? Youngblood Excel Discussion (Misc queries) 2 April 19th 06 09:50 PM
Offsetting the Rows of a VLookup Result John Excel Worksheet Functions 4 July 13th 05 04:08 AM
How do I convert works file to excel without works software? CatMB Excel Discussion (Misc queries) 1 June 21st 05 04:12 PM
Put the result of the calculation between 2 columns in a new works Metin Excel Discussion (Misc queries) 3 January 4th 05 11:06 AM


All times are GMT +1. The time now is 01:12 PM.

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

About Us

"It's about Microsoft Excel"