# If condition meet

#### maabbas

##### Board Regular
=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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
try entering with CRTL SHIFT enter

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))

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

this is due to cell refrances, can you show us a sample worksheet?

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

 Product Pounds Average Standard Standard Paid Std. PPH Down Up-Time Up-Time Raw Raw Yield Standard Yield Reject Reject Code Produced lbs/Hr lbs/Hr Hrs Hrs Paid Time Hrs PPH lbs lbs/Hr % Yield Difference lbs % 20203 5000 0 0.00 0.00% 0.00 0 5000 0 0.00% 120.00% -120.00% 200 4.00% 236 5000 0 0.00 0.00% 0.00 0 5000 0 104.00% 153.00% -49.00% 200 4.00% 0 0.00 0.00% 0.00 0 0 0.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>

are the product codes ever the same?

See if this works

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

M.

are the product codes ever the same?
Product code always stays same, if new product we just add the product code and standard yield.

See if this works

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

M.

its working but only for range A1 to A756, I have more product from range A757 to A1020 where I want formula to calculate Pound produce/Raw(B131/K131).

Replies
5
Views
163
Replies
14
Views
559
Replies
2
Views
226
Replies
5
Views
255
Replies
1
Views
536

1,218,809
Messages
6,144,606
Members
450,559
Latest member
kwenda farai

### 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.

### Which adblocker are you using?

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

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