Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Doug Manning
 
Posts: n/a
Default Insert rows with Formulas

Hi all,

I have a spreadsheet that starting at row 18 contains the following
information
A18=M$2
B18= Datavalidation indirect ($M$2)
C18=IF(B18="No More
Options",VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_ info")),1,FALSE),IF(B19<2,VLOOKUP($B18,INDIRECT(CO NCATENATE($M$2,"_info")),1,FALSE),CONCATENATE(B19, "
x ",VLOOKUP($B18,INDIRECT(CONCATENATE($M$2,"_info")) ,1,FALSE))))
E18=IF(ISERROR(VLOOKUP($B18,INDIRECT(CONCATENATE($ M$2,"_info")),2,FALSE)),"",VLOOKUP($B18,INDIRECT(C ONCATENATE($M$2,"_info")),2,FALSE)*B19)
G18=COUNTA(INDIRECT(A18))-1

Columns D and F are 0 Width because they contain information in other rows
that are not to be seen

What I want to do is if B18 does not equal specific text "No More Options"
it will insert two rows with the same formulas and datavalidation at row 20,
but set the value of B20 to "No More Options". then start the whole process
all over again starting at row 20 and inserting at row 22 if B20 does not
equal "No More options" continuing until the maximum amount has been reached
(cell G18).

Any help on this would be greatly appriciated.

Doug
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
rows with formulas victorcab Excel Worksheet Functions 1 September 2nd 05 03:35 AM
How to have formulas and formats auto copy to new inserted rows DippyDawg Excel Discussion (Misc queries) 2 August 5th 05 03:09 PM
Insert rows, keep a formula? tb Excel Worksheet Functions 1 April 23rd 05 03:41 PM
INSERT ROWS WITHOUT SCREWING-UP FORMULAS! BILL GATES - I WANNA WORD WITH YOU! Excel Worksheet Functions 1 March 4th 05 01:32 PM
Inserting Multiple Rows with Formulas ShineboxNJ Excel Worksheet Functions 2 November 18th 04 02:30 AM


All times are GMT +1. The time now is 05:03 AM.

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"