Chemical X
Footballguy
the requisition is out there......this is what happens when you force someone to be a financial analyst when their role is not that.has your wife considered hiring a junior analyst who actually knows how to use excel?
the requisition is out there......this is what happens when you force someone to be a financial analyst when their role is not that.has your wife considered hiring a junior analyst who actually knows how to use excel?
Tough situationthe requisition is out there......this is what happens when you force someone to be a financial analyst when their role is not that.
From a data visualization perspective, generally speaking pie charts are a very poor conveyor of information unless you are simply comparing two options, i.e. Yes/No responses, etc.Chemical X said:well,
want to put you excel nerds on alert that I will likely need 'pie chart' help later.
proactively, any good ideas on how to easily create pie charts in excel?
tia
@Ned
Agreed.From a data visualization perspective, generally speaking pie charts are a very poor conveyor of information unless you are simply comparing two options, i.e. Yes/No responses, etc.
Anything more than that, and you are usually much better served with column or bar charts.
What is it that you will be trying to show with the chart?
I'll be her consultant for a modest fee.the requisition is out there......this is what happens when you force someone to be a financial analyst when their role is not that.
Where do you want to type 0.5%? In a control or a cell?I have a list of items ~16000 long. I'd like to insert some kind of control for jumping down the list. If I type 0.5%, I'm jumped to a cell very close to the top of the list. 45% is near the middle, 90% is near the bottom etc. ActiveX scroll bars seem like they could do this but I can't get it to work. Ultimately I'd like an object that sits fixed within the excel window with the sheet sliding under it. Once I'm jumped to a spot on the list I'm interested in its neighbors. Want it sheet specific as I have other lists on different sheets in the same workbook. Worth DIYing this or is there a cheap outsourcing option?
I could cook something up for you, but having a sample sheet that you're working with would go a long way.I could split the sheet into panes and enter it in a cell, I guess. My preference is into a control but I'm ignorant about the pros and cons of each approach. I'd take any solution at this point.
Assuming you're going against same row in all sheets? Put this in cell M1. Writing this from iPhone, so no guarantee it's error free!I'm trying to match data from Sheet1 (Column H) to Sheet2 (Column A).
When the values match, output the value in Column K (from Sheet2) to Column M of Sheet1.
If the values do not match, output a '0'.
How do I go about doing this? My current formula isn't outputting.
Thank You!
I'm trying to match data from Sheet1 (Column H) to Sheet2 (Column A).
When the values match, output the value in Column K (from Sheet2) to Column M of Sheet1.
If the values do not match, output a '0'.
How do I go about doing this? My current formula isn't outputting.
Thank You!
Assuming you're going against same row in all sheets? Put this in cell M1. Writing this from iPhone, so no guarantee it's error free!
=IF(Sheet1!H1=Sheet2!A1,Sheet2!K1,0)
This is totally different than the first question.If Column A has any of the following values, I want to re-classify in Column B to a new value:
Column A:
Simple
Easy
Low Effort
Column B:
Standard
Can't you just F5 and pick the cell you would want to jump to? So, if you want to go 75% of the way down the list, F5, type A12000 and be where you want to be? Probably not the solution you are looking for if you are wrestling with Active XI have a list of items ~16000 long. I'd like to insert some kind of control for jumping down the list. If I type 0.5%, I'm jumped to a cell very close to the top of the list. 45% is near the middle, 90% is near the bottom etc. ActiveX scroll bars seem like they could do this but I can't get it to work. Ultimately I'd like an object that sits fixed within the excel window with the sheet sliding under it. Once I'm jumped to a spot on the list I'm interested in its neighbors. Want it sheet specific as I have other lists on different sheets in the same workbook. Worth DIYing this or is there a cheap outsourcing option?
Yup. Just don't think it's the same as the first question. We should at least be told if what we offered answered the question.Matthias said:If(or(a1="simple",a1="easy",a1="low effort"),"standard",xxx)
Where xxx is whatever you want it to be if they don't match
Thanks this works well. One additional modification.Yup. Just don't think it's the same as the first question. We should at least be told if what we offered answered the question.
Thanks this works well. One additional modification.
Current formula:
=IF(OR(H2="A",H2="B"),"standard",H2)
However, I need to this for a few other scenario's as well.
The current formula works fine for the 1st scenario but there are 3 other ELSE type conditions. How would I add in those?
=IF(OR(H2="A",H2="B"),"standard",H2)
ELSE
When H2 = X or Y, output moderate, H2
ELSE
When H2 = J or K, output complex, H2
ELSE
When H2 = M or N, output very complex, H2
It's easy to get turned around when nesting; nice job explaining how to do it.You can nest IF functions. So you I assume you recognize that the four above would be-
=IF(OR(H2="A",H2="B"),"standard",H2)
=IF(OR(H2="X",HY="B"),"moderate",H2)
=IF(OR(H2="J",HY="K"),"complex",H2)
=IF(OR(H2="M",HY="N"),"very complex",H2)
Assuming you only want H2 when all of the test fail you would replace all but the last H2 in the false side of the IF with the next IF such as...
=IF(OR(H2="A",H2="B"),"standard",IF(OR(H2="X",HY="B"),"moderate",IF(OR(H2="J",HY="K"),"complex",IF(OR(H2="M",HY="N"),"very complex",H2))))
You could also consider a SWITCH function if the IFs get too cumbersome,
=SWITCH(h2, "X", "moderate", "Y", "moderate", "J"," complex", "K", "complex", "M", "very complex", "N", "very complex", "A", "standard", "B", "standard", h2)
And when that gets too cumbersome there are the lookups...
That is assuming that I understood the goal....
Use INDEX/MATCH.So here's what I have:
On spreadsheet 1 I have A, B and C filled with values. The combination of A, B AND C should never have duplicates although A, B or C will often have duplicates if that makes sense. I also have D, E, F filled with different values. Those correspond to A, B and C as long as they're on the same row.
On spreadsheet 2 I have A, B, C filled with values (they match A, B, C on spreadsheet 1. But I do not have the corresponding D, E and F on that spreadsheet.
What I am trying to do is go to spreadsheet 2 and take A, B, C and fill in new rows D, E, F (with the values from spreadsheet 1).
If what I'm trying to do is clear (it might not be) does anyone know a formula that can do what I want?
I might be able to do with an H Lookup but I'm not really familiar with how to do those with multiple columns.
Question:
H26 is a date field (ex. 01/13/2017)
AN26 is a date field (ex. 01/12/2017)
Here is my formula:
=IF(H26="","-1",IF(AN26="","-1",DATEDIF(AN26,H26,"D")))
In th example above, my forumula is returning a value of '1' but my formula below is returning a value of #NUM! in situations where H2 is an older date than AN.
Ex.
H27 = 12/08/2016 and AN27 = 01/11/2017 returns a #NUM!
H28 = 01/03/2017 and AN28 = 01/06/2017 returns a #NUM!
How do I fix this? Do I need a check that returns a '-1' (as a default) if Column H is older than AN? If so how do I go about doing this?
Thank you. One question.If Date1 is later than Date2, DATEDIF will return a #NUM! error.
For it to work for you, I think you need to switch the formula to be =IF(H26="","-1",IF(AN26="","-1",DATEDIF(H26,AN26,"D")))
Alternatively, if the dates could be in varying order, ie sometimes AN is after H or vice versa, and you are always just looking to calculate the number of days, you could consider using the DAYS formula or even more simply just doing =AN26-H26 as your formula. Both of those will give you negative numbers as well if the first date is after the second date.
Probably have to do more nesting of IF statements.Thank you. One question.
If I do AN26-H26, how would I go about setting a default if the value returned is GT OR LT 99?
Do you have a $ in front of the 2s? I.E. your formula is =A$2-B$2?@Ned or other nerds, I have the simplest of questions.....
so, I have 2 columns A & B. on row 2 in column C I set a formula to calculate A2 - B2. when I copy the formula from C2 to C3, C4, C5, etc. the answer remains the answer for C2. the formula copies, but it copies the initial result. tried automatic, manual, text, etc.
any ideas? seems so simple......thx
To my knowledge, this can only be done using VBA code.new query.....
in a cell, "wife" has a drop down box of potential actions that can be selected. it only allows her to select 1 action from the dropdown. she'd like to select more than one.
tia
much obligedTo my knowledge, this can only be done using VBA code.
Here is one such online tutorial showing how to do this. Can do a google search for others, but almost all essentially do the same thing.
You'll need to store a list of the dropdown values and their associated probabilities. Let's say they're in Sheet2: col A is dropdown values and col B is %.new query;
so wife has a list of items that can be added via drop down in column A. each item has a % of probability associated with it. she would like that when an item is chosen for column A, the associated % populates automatically in column B.
Does it have any dollar signs on it? Like: =$A$2-$B$2 or =A$2-$B$2 ?@Ned or other nerds, I have the simplest of questions.....
so, I have 2 columns A & B. on row 2 in column C I set a formula to calculate A2 - B2. when I copy the formula from C2 to C3, C4, C5, etc. the answer remains the answer for C2. the formula copies, but it copies the initial result. tried automatic, manual, text, etc.
any ideas? seems so simple......thx
couldn't get it to work.....open to other suggestions.You'll need to store a list of the dropdown values and their associated probabilities. Let's say they're in Sheet2: col A is dropdown values and col B is %.
Next to your dropdown column (shown as col Z here):
=INDEX(Sheet2!B:B,MATCH(Z1,Sheet2!A:A,0),0)
Need more info......couldn't get it to work.....open to other suggestions.
well, the dropdown also has a vba code associated allowing for multiple drop down choices.......Need more info......
That's the kind of info we need. Most times when users say 'dropdown', they're talking about the data validation lists.well, the dropdown also has a vba code associated allowing for multiple drop down choices.......
used the code from a post above.....I could post it here if need be.That's the kind of info we need. Most times when users say 'dropdown', they're talking about the data validation lists.
Did you author the VBA code? It should be simple to add another step in the code to add the corresponding probability.
Yeah post it here so we have exactly what you're working with.used the code from a post above.....I could post it here if need be.
Dim Oldvalue As StringYeah post it here so we have exactly what you're working with.
Are you expecting multiple probabilities to be added?Dim Oldvalue As String
Dim Newvalue As String
Application.EnableEvents = True
On Error GoTo Exitsub
If Target.Column = 16 Or Target.Column = 17 Or Target.Column = 18 Then
If Target.SpecialCells(xlCellTypeAllValidation) Is Nothing Then
GoTo Exitsub
Else: If Target.Value = "" Then GoTo Exitsub Else
Application.EnableEvents = False
Newvalue = Target.Value
Application.Undo
Oldvalue = Target.Value
If Oldvalue = "" Then
Target.Value = Newvalue
Else
If InStr(1, Oldvalue, Newvalue) = 0 Then
Target.Value = Oldvalue & ", " & Newvalue
Else:
Target.Value = Oldvalue
End If
End If
End If
End If
Application.EnableEvents = True
Exitsub:
Application.EnableEvents = True
End Sub
no. even though it is set that way it is likely only 1 choice will always be selected.Are you expecting multiple probabilities to be added?
When >1 is selected, what is the expected result for the probability?no. even though it is set that way it is likely only 1 choice will always be selected.
well, each choice has a probability.When >1 is selected, what is the expected result for the probability?
When it comes to coding you have to treat anything that has a possibility of happening as if it's going to happen every time. Failing to do so gives you bugs.well, each choice has a probability.
ie - Ned = 20%
Chem X = 15%
so if both are chosen, that cell would be 35%. but likely only 1 choice will ever be chosen.