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
Solved

Excel macro or formula help

Posted on 2012-04-09
3
341 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

839 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