If condition meet

maabbas

Board Regular
Joined
Aug 11, 2011
Messages
201
=IF(A131=Yield!A1:A1020,(Sun!B131+Sun!P131)/Sun!K131,Sun!B131/Sun!K131)

Any help, I am not getting the right calculation
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
try entering with CRTL SHIFT enter

Sorry I posted the wrong formula, please check the below formula, I tried using the CRTL SHIFT ENTER, but formula only calcuting right the first cell of range

=IF(Yield!A757:A1020=Sun!A131,Sun!B131/Sun!K131,IF(Yield!A1:A756=Sun!A131,(Sun!B131+Sun!P131)/Sun!K131,0))
 
Upvote 0
Sorry I posted the wrong formula, please check the below formula, I tried using the CRTL SHIFT ENTER, but formula only calcuting right the first cell of range

=IF(Yield!A757:A1020=Sun!A131,Sun!B131/Sun!K131,IF(Yield!A1:A756=Sun!A131,(Sun!B131+Sun!P131)/Sun!K131,0))

Here is more information, what I want, I have 7 Sheets from Monday to Sunday and a yield Sheet where we have product code and its standard yield (A1:A756), there are some product which we calculate yield as (finished goods/Inbound) and some are (finished goods+rejects/inbound) on yield sheet I separated both product from A1:A756 and A757:A1020. I am looking formula if I enter the product code in any day (Monday to Friday) sheet it will calculate the yield according to range
 
Upvote 0
this is due to cell refrances, can you show us a sample worksheet?

YIELD SHEET

236153%
64330176%
65230176%
60715148%
64230176%
A1397180%
65530161%
63030150%
64630161%
60113160%
60325147%
1044115%
24561156%
65730161%
64830161%
60108147%
60315145%
60116139%
20203120%
60004149%
33160155%
60243193%
60249193%
60216139%
60008147%
6900075%
58208150%
3762179%

DAILY SHEET

ProductPoundsAverageStandardStandardPaidStd. PPHDownUp-TimeUp-TimeRawRawYieldStandardYieldRejectReject
CodeProducedlbs/Hrlbs/HrHrsHrsPaidTimeHrsPPHlbslbs/Hr%YieldDifferencelbs%
2020350000 0.00 0.00% 0.000500000.00%120.00%-120.00%2004.00%
23650000 0.00 0.00% 0.00050000104.00%153.00%-49.00%2004.00%
0 0.00 0.00% 0.000 00.00%0.00%0.00% 0.00%

<colgroup><col span="2"><col><col><col span="4"><col><col span="2"><col><col span="2"><col><col span="2"></colgroup><tbody>
</tbody>



<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0
See if this works

=(B131+ISNUMBER(MATCH($A131,Yield!$A$1:$A$756,0))*$P131)/$K131

M.
 
Upvote 0

Forum statistics

Threads
1,214,573
Messages
6,120,310
Members
448,955
Latest member
Dreamz high

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