How would you find a replace this?

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
801
Office Version
  1. 365
Platform
  1. Windows
=SUMIFS('Booking Data'!$I:$I, 'Booking Data'!$D:$D, $S$6, 'Booking Data'!$S:$S, $U7, 'Booking Data'!$T:$T, W$4, 'Booking Data'!$J:$J, "<>X",'Booking Data'!$U:$U,'JG EU'!$C$2)+SUMIFS('Booking Data'!$V:$V, 'Booking Data'!$D:$D, $S$6, 'Booking Data'!$S:$S, $U7, 'Booking Data'!$T:$T, W$4, 'Booking Data'!$J:$J, "<>X",'Booking Data'!$U:$U,'JG EU'!$C$2)


=SUMIFS('Booking Data'!$I:$I, 'Booking Data'!$D:$D, $S$6, 'Booking Data'!$S:$S, $U7, 'Booking Data'!$T:$T, W$4, 'Booking Data'!$J:$J, "<>X",'Booking Data'!$U:$U,'JG EU'!$C$2)+SUMIFS('Booking Data'!$V:$V, 'Booking Data'!$D:$D, $S$6, 'Booking Data'!$S:$S, $U7, 'Booking Data'!$T:$T, W$4, 'Booking Data'!$J:$J, "X",'Booking Data'!$U:$U,'JG EU'!$C$2)


I need those "Does not equal" signs gone from the second SUMIFS, as they are in the bottom string.

However, I can't find and replace as there are locked cell references.

I have a sheet with multiple tabs which total thousands of instances of this formula, multiplied by 4 different sheets.


How would you remove all the <> from just the second SUMIFS? Thanks.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Have it search for the text "<>X" (without the quotes), it should find the formulas containing that and group formulas which you can copy into one single entry. You can then choose the ones you want to replace and enter the repacement string. The tool will prompt for each occurrence in each formula separately.
 
Upvote 0
There's probably 2,000 instances of this occurring (the original formula was set up by an ex-member of the team and he copied it to multiple matrixes and then duplicated the matrixes across multiple sheets on multiple workbooks, I've been tasked with swapping it.

I couldn't find a way to do and it and it ended up being easier just correcting one, copying it down then across, for each of the matrixes it appears in. An arduous, boring and time-consuming job but it had to be done, shame there isn't a faster way. I appreciate your solution but it's essentially requiring me to sit there and click "Next / Apply / Next / Apply" a thousand + times.
 
Upvote 0
I suspect that if you switched to R1C1 referencing, you could have done a replace on the entire second part of the formula.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,217
Members
452,619
Latest member
Shiv1198

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