Formula Range Changes

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
354
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Every time that I clear contents to copy and paste new data in the "Master" worksheet, the formula range where the formula is changes. A2:A1000 is what I need to keep. Please advice.

=SUMPRODUCT(ISNUMBER(SEARCH("*0084*",Master!$A$2:$A$1000))*ISNUMBER(SEARCH("*OD*",Master!$K$2:$K$1000))*ISNUMBER(SEARCH("*1A.*",Master!$U$2:$U$1000)))
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Try:

=SUMPRODUCT(ISNUMBER(SEARCH("*0084*",INDIRECT("Master!$A$2:$A$1000")))*ISNUMBER(SEARCH("*OD*",Master!$K$2:$K$1000))*ISNUMBER(SEARCH("*1A.*",Master!$U$2:$U$1000)))
 

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
354
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Thanks MrKowz!

It did not work...no results were returned. Please advice.

=SUMPRODUCT(ISNUMBER(SEARCH("*0084*",INDIRECT("Master!$A$2:$A$1000"))*ISNUMBER(SEARCH("*OD*",Master!$K$2:$K$1000))*ISNUMBER(SEARCH("*1A.*",Master!$U$2:$U$1000))))
 

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
You're missing a parenthases:

=SUMPRODUCT(ISNUMBER(SEARCH("*0084*",INDIRECT("Master!$A$2:$A$1000")))*ISNUMBER(SEARCH("*OD*",Master!$K$2:$K$1000))*ISNUMBER(SEARCH("*1A.*",Master!$U$2:$U$1000)))
 

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
354
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Ooops! It's working now...Thanks again...!!!!

Now, is there a way to fix ALL my formulas at once? I have 128 cells that I have to fix..
 

MrKowz

Well-known Member
Joined
Jun 30, 2008
Messages
6,653
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Try selecting the range of cells that have the formulas, and doing a Find/Replace:

Find - Master!$A$2:$A$1000
Replace - INDIRECT("Master!$A$2:$A$1000")

Note: Don't include the formula you already did this on, otherwise you'll double-up the INDIRECT formula.
 

Forum statistics

Threads
1,175,986
Messages
5,900,737
Members
434,848
Latest member
kubersood321

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
Top