LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Coding Formula

I have a very complex formula as follows:

=IF(ISERR(FIND("COLLATERAL",BZ2))=FALSE,"Overige_B eleggingen",IF(AND(ISNA(VLOOKUP($H2,Vast_Table,2,F ALSE))=FALSE,AB2<"CASH"),VLOOKUP($H2,Vast_Table,2 ,FALSE),IF(OR(AB2="CASH",ISERR(FIND("COLLATERAL",B Z2))=FALSE,ISERR(FIND("ILF",BZ2))=FALSE),"Overige_ Beleggingen","Aandelen")))

Which I would like to have entered into my spreadsheet using code. The
spreadsheet changes size ie no. of rows each time it is used so I want to
ensure that all necessary cell have the correct formula.

It would appear that due to it's complexity with quotes being used a number
of times within the nested functions, that I cannot simply use
Range("A2").Formula =

Could someone please advise on the best solution.

Many Thanks

Richard
 
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
converting question; function, formula, or coding? gtrask Excel Worksheet Functions 4 July 8th 08 12:25 AM
Coding a SumProduct formula Otto Moehrbach Excel Programming 2 October 28th 06 04:54 PM
Help with Coding a Formula Please Paul Black Excel Programming 8 August 19th 05 02:04 PM
Formula Color Coding Andrew Excel Discussion (Misc queries) 5 March 25th 05 08:41 PM
vba coding for formula in cell RDP1 Excel Programming 2 February 7th 05 10:05 PM


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