ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formula throwing up an error (https://www.excelbanter.com/excel-programming/436641-re-formula-throwing-up-error.html)

ker_01

Formula throwing up an error
 
Look at where your double quotes are located; each set surrounds something
that Excel will treat as a single string. Also, you will need a "&" between
each string or variable.

"=IF(SUM(--('A Use'!A$1:A$10000&'A Use'!C$1:C$10000=B10&"


"Gotroots" wrote:

Can anyone tell me why I should be getting an error.

Range("L10:L7800").FormulaArray = "=IF(SUM(--('A Use'!A$1:A$10000&'A
Use'!C$1:C$10000=B10&"G house")),"G house","")"


B10 by the way is a relative reference.

Thank you for your time.



All times are GMT +1. The time now is 05:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com