Solved

Excel macro or formula help

Posted on 2012-04-09
3
335 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
3 Comments
 
LVL 10

Assisted Solution

by:ravindran_eee
ravindran_eee earned 166 total points
Comment Utility
=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
Comment Utility
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
Comment Utility
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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

763 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

7 Experts available now in Live!

Get 1:1 Help Now