Formula Problem 2

Posted on 2013-11-03
Last Modified: 2013-11-03
Hi All,

I have this formula that I the compiler does not like:

Worksheets("Pre").Range(wraps.Address).Offset(0,-3).Formula = "=if(" & B1 & wraps.row& "*" & B2 & wraps.Row& * & B3 & wraps.Row& * & B4 & wraps.row& * & B5 & wraps.Row& ",1,0)"

The compiler is highlighting "*" in yellow.    I am pretty sure that I have the variables all defined correctly.

I am just trying to multiply.  

Any idea?

Question by:BostonBob
1 Comment
LVL 43

Accepted Solution

Saqib Husain, Syed earned 500 total points
ID: 39620744
Worksheets("Pre").Range(wraps.Address).Offset(0, -3).Formula = "=if(" & B1 & wraps.Row & "*" & B2 & wraps.Row & "*" & B3 & wraps.Row & "*" & B4 & wraps.Row & "*" & B5 & wraps.Row & ",1,0)"

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now