Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Dongle
 
Posts: n/a
Default Filling an array with data

Using Excel 2003. Trying to fill an amount of cells with data. The amount is
depending on an other cell. Example:
A1 = 6, B1 = 3.81.
A2 =3, B2 = 6.53
Now I want C1:C6 to be 3.81 and C7:C9 to be 6.53 and when A1 = 9, I want
C1:C9 to be 3.81
Thanks in advance for any help.
Dongle
  #3   Report Post  
Dongle
 
Posts: n/a
Default

Hai Gary,
Thanks, coming in the right direction, but the formula is taking two cells
and C2, C4 and so on, remain empty.
I'll try further with your suggestion.
Dongle.

"Gary Brown" schreef:

Put the following formula in Cell C1 and copy down...
=IF(ROW()<=$A$1,$B$1,IF(AND(ROW()$A$1,ROW()<$A$1+ $A$2+1),$B$2,"No"))
HTH,
--
Gary Brown



"Dongle" wrote:

Using Excel 2003. Trying to fill an amount of cells with data. The amount is
depending on an other cell. Example:
A1 = 6, B1 = 3.81.
A2 =3, B2 = 6.53
Now I want C1:C6 to be 3.81 and C7:C9 to be 6.53 and when A1 = 9, I want
C1:C9 to be 3.81
Thanks in advance for any help.
Dongle

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
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
How do I return an entire row of data from a reference array? tvmodica Excel Worksheet Functions 2 January 7th 05 08:52 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM
VBA Import of text file & Array parsing of that data Dennis Excel Discussion (Misc queries) 4 November 28th 04 10:20 PM


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

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"