IF OR help in populating data from sheet 2 to sheet 1

peters93

New Member
Joined
Feb 25, 2019
Messages
1
Hello Everyone, have a quick question about adding onto the formula below.
Sheet1 H5=IFEROR(INDEX(Sheet2!$AK$3:$AK$13,MATCH($B5,Sheet2!$A$3:$A13,0)),"")



To have it process the below?


In sheet 2 Column A is a list of companies and AK2 = Total of errors for each of the companies
AL2 = adjusted Total of errors.


I would like To have sheet 1 Column H populate data from Sheet2 AK.. Unless there is data in AL. if there is data in AL, then have sheet 1 Column H populate data from Sheet2 AL, instead of AK.



I believe that I will need to use IF OR but im not too good with combining formulas
any help is really appreciated
thankyou!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi peters93,

Welcome to MrExcel!!

Try this:

=IFERROR(INDEX(IF(COUNTA(Sheet2!AL:AL)=0,Sheet2!$AK$3:$AK$13,Sheet2!$AL$3:$AL$13),MATCH($B5,Sheet2!$A$3:$A13,0)),"")

Note the formula you posted is in error as it's missing a R from the "IFERROR" function.

Thanks,

Robert
 
Upvote 0

Forum statistics

Threads
1,224,748
Messages
6,180,721
Members
452,995
Latest member
isldboy

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