I have a sheet where I need to add a number from another worksheet, but it isn't always in the same cell.
Let me explain: I need to add a formula to access a different Sheets file, search for the words "MONTHLY BUDGET: $2000" ("2000" will change as I will have various different sheets) and add to the cell just the number 2000.
I got most of this done by using the formula =VALUE(REGEXREPLACE(VLOOKUP("MONTHLY BUDGET: $*",J2:J100,1,FALSE),"[^[:digit:]]", ""))
but this only works if I have the MONTHLY BUDGET information on the same sheet. How can I do this lookup in a different file?
I managed to import the other file information using =IMPORTRANGE(*FILEURL*, "SheetName!A2:A100")
but this imports all the rows, since the MONTHLY BUDGTE will sometimes be in row 10, and other times, it may be in row 90. What I don't want to do is have to import 100 rows into my file for each client, just to look for the budget. Any way to do this without importing the entire information?
PS: I cannot edit the file I am importing from.
All I need to do is lookup a speficic text (MONTHLY BUDGET) in another file and import only the cell that contains this text. Can this be done?