Simple Excel Forumula?

clock245

New Member
Joined
Aug 17, 2008
Messages
21
Hi, hopefully someone can help me. I'm looking for a non-VBA solution to a simple problem---i think.

Column A thru C are user entered fields.
Column F is what i'm hoping for some help on.

If a user says Column C is either Partial or No then i'd like Column F to be filled out with the No and Partial. It needs to feed into another spreadsheet with other criteria which is why i can't do a simple filter/pivot table.

Thank you so much for your help! Hopefully the below HTML works!


Excel 2012
ABCDEF
1ProblemResolutionResolve IssueRemaining Problems
2Need AGet AYesNeed B
3Need BNo PlanNoNeed F
4Need FAcquire Part of FPartialNeed G
5Need 1Get 1YesNeed C
6Need GAcquire Part of GPartial
7Need CNo PlanNo
8Need 0No PlanYes
Sheet1
Cell Formulas
RangeFormula
F2=A3
F3=A4
F4=A6
F5=A7
 
Last edited:

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Those formulas are misleading. Entering the desired results manually is the right thing to do.

In F2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($A$2:$A$8,SMALL(IF(ISNUMBER(MATCH($C$2:$C$8,{"No","Partial"},0)),ROW($A$2:$A$8)-ROW($A$2)+1),ROWS($F$2:F2))),"")

Or perhaps even better:

Contrl+shift+enter and copy down:

=IFERROR(INDEX($A$2:$A$8,SMALL(IF(1-($C$2:$C$8="yes"),ROW($A$2:$A$8)-ROW($A$2)+1),ROWS($F$2:F2))),"")
 
Upvote 0
Hi, i'm sorry to ask again! As you can see from the below, I've added a column that shows percent of problem solved. So that if there are multiple resolutions required to solve one problem then i can see what they are. I tried incorporating an if/sum if statement to try and have the formula consider lines that are less than 100%, but i can't seem to get that to work. If anyone can help that'd be great!!!


Excel 2012
ABCDEFG
1ProblemResolution% SolvedResolve IssueRemaining Problems
2Need AGet A50%NoNeed A
3Need AGet A150%YesNeed F
4Need BNo Plan100%YesNeed G
5Need FGet F75%PartialNeed G
6Need 1Get 1100%YesNeed C
7Need GGet G35%Partial 
8Need GGet G130%Partial 
9Need CNo Plan0%No 
10Need 0No Plan100%Yes 
Sheet1
Cell Formulas
RangeFormula
G2{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G2))),"")}
G3{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G3))),"")}
G4{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G4))),"")}
G5{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G5))),"")}
G6{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G6))),"")}
G7{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G7))),"")}
G8{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G8))),"")}
G9{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G9))),"")}
G10{=IFERROR(INDEX($A$2:$A$10,SMALL(IF(1-($D$2:$D$10="yes"),ROW($A$2:$A$10)-ROW($A$2)+1),ROWS($G$2:G10))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
What is the desired output using the new criteria? (I'm not asking for what the current formula that we have delivers.)
 
Upvote 0
Oops! I've pasted the desired answer below. You'll notice everything that sums to 100% in Column C does not show under the H column as a remaining problem (e.g. "Need A" is resolved through two different resolution efforts at 100% solved---while "Need G" still requires additional resolution at only 65% solved. Hope that makes sense---Thank you so much for your help!

Excel 2012
ABCDEFGH
1ProblemResolution% SolvedResolve IssuePrevious FormulaRemaining Problem (Desired Answer)
2Need AGet A50%NoNeed ANeed F
3Need AGet A150%YesNeed FNeed G
4Need BNo Plan100%YesNeed GNeed C
5Need FGet F75%PartialNeed G
6Need 1Get 1100%YesNeed C
7Need GGet G35%Partial
8Need GGet G130%Partial
9Need CNo Plan0%No
10Need 0No Plan100%Yes

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1
 
Last edited:
Upvote 0
That is a very good point---i believe Column D is now redundant. Thank you!

Row\Col
A​
B​
C​
D​
E​
F​
1​
ProblemResolution% SolvedCompletionRemaining Problem
2​
Need AGet A
50%
1
Need F
3​
Need AGet A1
50%
Need G
4​
Need BNo Plan
100%
1
Need C
5​
Need FGet F
75%
0.75
6​
Need 1Get 1
100%
1
7​
Need GGet G
35%
0.65
8​
Need GGet G1
30%
9​
Need CNo Plan
0%
0
10​
Need 0No Plan
100%
1

In D2 just enter and copy down:

=IF(ISNUMBER(MATCH($A2,$A$1:A1,0)),"",SUMIFS($C$2:$C$10,$A$2:$A$10,$A2))

In F2 control+shift+enter, not just enter, and copy down:

=IFERROR(INDEX($A$2:$A$10,SMALL(IF(ISNUMBER($D$2:$D$10),IF($D$2:$D$10 < 1,ROW($A$2:$A$10)-ROW($A$2)+1)),ROWS($F$2:F2))),"")
 
Upvote 0

Forum statistics

Threads
1,215,752
Messages
6,126,672
Members
449,327
Latest member
John4520

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top