Bracket question

2022

Board Regular
Joined
Jun 5, 2022
Messages
74
Office Version
  1. 2016
Platform
  1. Windows
Hi, I've got two formulas which work in isolation, but cause an error when added together.

I think it must be to do with the brackets.

Can anyone spot the issue here, please?

This is one formula: =IF(Sheet1!B2="Unique",ROUND(VLOOKUP(UPPER(A3),Sheet2!A:J,6,0),2))

And this is the other: =IF(A3="","",IFERROR(ROUND(VLOOKUP(UPPER(A3),SHEET5!$B$4:$W$104,3,0),2),""))

And I thought this would join them together: =IF(A3="","",IFERROR(IF(Sheet1!B2="Unique",ROUND(VLOOKUP(UPPER(A3),Sheet2!A:J,6,0),2),(ROUND(VLOOKUP(UPPER(A3),SHEET5!$B$4:$W$104,3,0),2),""))))

If you could point it the issue, it would be appreciated - thank you in advance.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Like most functions vlookup is not case sensitive, so there is no need to use upper.
Try
Excel Formula:
=IF(A3="","",IFERROR(IF(Sheet1!B2="Unique",ROUND(VLOOKUP(A3,Sheet2!A:F,6,0),2),ROUND(VLOOKUP(A3,SHEET5!$B$4:$D$104,3,0),2)),""))
 
Upvote 0
Solution
Did that do what you wanted?
 
Upvote 0
Yes - it all fits into once cell. So thank you!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,430
Messages
6,119,447
Members
448,898
Latest member
drewmorgan128

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