Solved

Excel macro or formula help

Posted on 2012-04-09
3
345 Views
Last Modified: 2012-05-06
Excel macro or formula help
Attach file has users who have softwares

Where ever Yes it has to check the other sheet and calculate the cost and update the sheet

updated additional info in excel
thanks a lot in advancecost.xls
0
Comment
Question by:bsharath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Assisted Solution

by:ravindran_eee
ravindran_eee earned 166 total points
ID: 37823218
=IF(N2="YES",12000,0)+IF(O2="YES",2000,0)+IF(P2="YES",3000,0)+IF(Q2="YES",33000,0)+IF(R2="YES",2000,0)+IF(S2="YES",1000,0)+IF(T2="YES",33000,0)

Drag it to rest of the cells so that the formula applies for each row
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 167 total points
ID: 37823235
You can use this ARRAY formula

=SUMPRODUCT((N2:V2="Yes")*TRANSPOSE(Cost!$B$1:$B$9))

in row 2 and then copy down. But you will have to make sure that the costs on cost sheet are numbers and not text+numbers. see attached
Copy-of-cost.xls
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 167 total points
ID: 37823320
This version can be used to avoid "array entry"

=SUMPRODUCT(MMULT((N2:V2="Yes")*1,Cost!$B$1:$B$9))

regards, barry
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

729 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