View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
matpj[_27_] matpj[_27_] is offline
external usenet poster
 
Posts: 1
Default Conditional Calculation


hi there,

I need to code some VBA that will analyse the contents of a strin
field.
If it meets a certain requirement, then I need to multiply a numeri
value that exists in another column on the same row.

e.g. (simplified view)

Project_Group Actuals Likelihood
Committed 112 1.00
Very Likely 98 0.85
Prospects 101 0.45


I need to search the entire range.
any rows that have "prospects" in Column A, I need to multiply th
Actuals figure by the likelihood.


In reality I have 12 columns of Actuals (one for each month), whic
will all need multiplying by the likelihood figure.


Please can someone show me how to do this,
thanks in advance.
Mat

--
matp
-----------------------------------------------------------------------
matpj's Profile: http://www.excelforum.com/member.php...fo&userid=2107
View this thread: http://www.excelforum.com/showthread.php?threadid=48867