Solved

Excel formula problems

Posted on 2014-07-28
14
157 Views
Last Modified: 2014-07-30
Im getting errors with some formulas I have written.
Could someone help resolve.
0
Comment
Question by:gh_user
  • 5
  • 5
  • 2
  • +1
14 Comments
 
LVL 11

Expert Comment

by:Missus Miss_Sellaneus
ID: 40225870
Did you miss an attachment?
0
 

Author Comment

by:gh_user
ID: 40225883
Thanks.
Its attached now
Excel-Formulas-Issues.xlsx
0
 
LVL 11

Expert Comment

by:Missus Miss_Sellaneus
ID: 40225912
Okay, I've made the corrections in row 29 for you. (Max. risk for asset.) Unfortunately, I'm suffering from flu and need sleep and the other formulas are a bit too complicated for my brain to tackle at the moment! :-) Hopefully in the morning, if someone else hasn't already done those I can help you out with the rest!

If my Max. risk for asset formulas work out for you, I'd appreciate partial credit for those even if someone else jumps in and does the whole thing for you.. I'm short a few points to keep my qualified status for the month!

Here's the spreadsheet back at ya..
Excel-Formulas-Issues.xlsx
0
 

Author Comment

by:gh_user
ID: 40225972
Hi Miss Sellaneous.  Sorry your not well. The copy of the file you attached didnt have any change to the row 29 formula.
0
 
LVL 18

Expert Comment

by:krishnakrkc
ID: 40226021
To elimincate error in the formula use =IFERROR(yourformula,"")

To get the max risk, try this one.

=IF(SUMPRODUCT(--ISNUMBER(SEARCH({"high","medium","low"},B$23:B$28))),IF(COUNTIF(B$23:B$28,"high"),"High",IF(COUNTIF(B$23:B$28,"medium"),"Medium","Low")),"")

I'm sure there may be an easier one.

Kris
0
 
LVL 11

Expert Comment

by:Missus Miss_Sellaneus
ID: 40226581
AARGGGHHHH!! I just saw the one I had made changes to listed in my recent documents, with a time after 9pm, but then I downloaded the one I had uploaded to you last night to check it, and it overwrote the one with changes, and now it is back to the original one with a time about 2 hours earlier!

I will get on this ASAP and CHANGE THE FILE NAME before uploading it again!!

Sorry..
0
 
LVL 11

Assisted Solution

by:Missus Miss_Sellaneus
Missus Miss_Sellaneus earned 150 total points
ID: 40226633
Okay, here's the new version with the Max Risk For Asset, row 29 working. I swear.


I'll try to help you on the other functions as well..  need to familiarize myself with the syntax.
Excel-Formulas-Issues---With-Changes.xls
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 11

Expert Comment

by:Missus Miss_Sellaneus
ID: 40226789
Okay, I have started by analysing cell C24 on the Input & Results sheet. After I removed the redundant referenece to the current worksheet to improve readability, I noticed that you are trying to MATCH on C5&C6 (concatenated). C5&C6 calculates to "LowAlmost certain", and since there is no match to the string "LowAlmost certain" anywhere in the entire worksheet I think that's the reason you're getting an error.

Perhaps it would be easier if you  tell us in more detail what you are trying to lookup using what values.
0
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 350 total points
ID: 40227009
HI,

a shorter formula (Array formula => Ctrl-Shift-Enter) to enter it

=INDEX({"Low";"Medium";"High"},MAX(MATCH(B23:B28,{"Low";"Medium";"High"},0)))

and the errors are due to Moderate with space in the sheet Input and Results without space in the General sheet

corrected version

Regards
Excel-Formulas-IssuesV2.xls.xlsx
0
 

Author Comment

by:gh_user
ID: 40228458
Thanks Rgonzo1971 (and others)
All fixed.  New formulas suggested worked for Max Risk. Do you know why my use of IF function didnt work to find Max Risk.  If Im doing something wrong would be good to know, as often need to use IF statement
0
 
LVL 48

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 350 total points
ID: 40228473
Becaue you compare a range to a single value without array logic

without array formula¨

you could have done it with  ( a longer formula )

=IF(IFERROR(MATCH("High",B23:B28,0),FALSE),"High",IF(IFERROR(MATCH("Medium",B23:B28,0),FALSE),"Medium","Low"))
Regards
0
 

Author Closing Comment

by:gh_user
ID: 40228494
Lots of good responses.  Thanks
Have tried to split points in consideration of completeness and timing of response and simplicity of solution
0
 
LVL 18

Expert Comment

by:krishnakrkc
ID: 40228519
The accepted as well as the assisted solution gives error and Low respectively, in case if there is no match found. And you simply ignore my solution - the first one !
0
 

Author Comment

by:gh_user
ID: 40228553
Hi krishnakrkc
In my case there would always be a match.
Yes, yours was the first correct one but the formula was a tad long. So I didnt end up using it.
Its hard to score when muliple answers come in that address my queries.
Thanks for your efforts.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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 how to use a scrolling table in Microsoft Excel using the INDEX function.

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

17 Experts available now in Live!

Get 1:1 Help Now