multiple sheet IFERROR formula - help required

JAdams1983

New Member
Joined
May 11, 2016
Messages
2
Hi,

I have a spreadsheet with multiple sheets within. (Sheet A, Sheet B, Sheet C etc).

For each row in sheet C, I want it to search Sheets A and B for cells containing parts of text, then show the text from that cell in the corresponding cell. The formula I have currently is:

=IFERROR(IF(FIND("SW", SHEETA!$B$2:$AL$8), SHEETA!$B$2:$AL$8, ), )

This works for Sheet A but if there are two cells within that sheet showing "SW" in their cells, it's only showing the first cell.
Also, how do I add sheet B to this also so it's searching the full document?

Any help MUCH appreciated!

Thanks!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi JAdams,
so say you have 3 matches, one in sheet A and two in sheet B, what would you like the formula to return? All 3 items in one cell? Or one next to eachother? How many matches are possible?
Koen
 
Upvote 0
Thanks for the reply. It's a timetable I'm creating so I'd like it the formula to return an error message so that it can flag when two things have been scheduled at the same place.
 
Upvote 0
Hi JAdams,
what about: =COUNTIF(SHEETA!$B$2:$AL$8,"*SW*")+COUNTIF(SHEETB!$B$2:$AL$8;"*SW*") -> if that formula >1 then you know there is something to look at. What you could also do: in a new sheet, put e.g. SW in cell A1 and then in B1 the formula: =IF(COUNTIF(SHEETA!$B$2:$AL$8,"*"&A1&"*")+COUNTIF(SHEETB!$B$2:$AL$8,"*"&A1&"*")>1,"ERROR","OK")
Would that solve your issue?
Koen
 
Upvote 0

Forum statistics

Threads
1,216,082
Messages
6,128,700
Members
449,464
Latest member
againofsoul

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