Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Microsoft Office

# I am using the following formula:

Customer Question
Hi, I am using the...
Hi, I am using the following formula:
INDEX(BPSPull!\$J\$7:\$AJ\$5235,MATCH(\$BA\$3&\$BD\$3&VLOOKUP(\$C\$13,\$BK\$19:\$BL\$23,2)&\$C\$12&\$AY\$2&\$AZ\$2,BPSPull!\$A\$7:\$A\$5235,0),MATCH(LEFT(\$D\$13,2),BPSPull!\$J\$2:\$AL\$2,0))
Is there is an easy way for me to use a variable for the worksheet name portion "BPSPull" to change it to other text. Like having a vlookup in a cell and if it change to "CPSPull" then the index will adjust to go to that new worksheet.
Thanks,
Otto
Submitted: 1 year ago.Category: Microsoft Office
Show More
Show Less
7/28/2016
Microsoft Office Technician: The-PC-Guy, Computer Manager replied 1 year ago
The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 2,037
Experience: 20 years experience providing remote computer support
Verified

Otto,

try something like

so what the indirect function does is retrieve the value of a cell or range to plug into a formula.

the address formula converts a row # and column # into an address, so for example if you use row 2 column 2, that would be B2.

so in your formula, lets say you had the text name of the sheet in cell A1 of the sheet you have your formula in, it would look like this

BPSPull!\$J\$7:\$AJ\$5235,

7 is for row 7, 10 is for the 10th column or J, 5235, is for row 5235, 36 is for 36th column or AJ.

4,1 means make it absolute and use A1 reference.

and of course A1 in the first address formula is the cell that contains your sheet name.

Of course you would have to apply this type of formula anywhere you had a sheet name and adjust for row and column # to whatever range you need.

the easier method though would be to use a macro to substitute the values directly into the formula.

---------------------------------------------------------------------------------------------------------------

let me know if you have any questions, problems, or concerns

PLEASE DON'T FORGET TO RATE SO I AM PAID FOR MY TIME

IT WILL NOT COST ANYTHING ADDITIONAL BEYOND THE VALUE OF YOUR QUESTION

TO RATE, CLICK THE STARS AT THE TOP OF YOUR SCREEN

Do not rate negatively, instead continue the conversation with me so I can address any of your concerns

---------------------------------------------------------------------------------------------------------------

if you have any questions in the future you can visit my profile

and ask a question right in my box,

also you can put "PC Guy only" in your question title if you want to get to me.

Customer reply replied 1 year ago
Hi,I am not following your answer. I only want to change the CPSPull! portion to other text like CPSPull! to pull from other worksheet. The rest of the formula I will like to keep as it is. The thing is that it need to work within the Index and Match formulas that are in the formula.
I can use an "If" and say if A1 = BPSPull!, "BPSPull!, if not have copy the same formula and substitute the text for CPSPull!. I do not want to do this because the formula will become very long.
Microsoft Office Technician: The-PC-Guy, Computer Manager replied 1 year ago

the only way to do it with a formula is the way I sugested, you would need to change it anywhere you refer to CPSPull! within a formula.

Otherwise you will need a macro

Microsoft Office Technician: The-PC-Guy, Computer Manager replied 1 year ago

so what do you want to do?

The-PC-Guy, Computer Manager
Category: Microsoft Office
Satisfied Customers: 2,037
2,037 Satisfied Customers
Experience: 20 years experience providing remote computer support

The-PC-Guy is online now

A new question is answered every 9 seconds

• Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
• Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

## What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

## Meet the Experts:

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Computer Support Specialist

684 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

Computer Manager

2,037 satisfied customers

20 years experience providing remote computer support

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

Computer Scientist

156 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Support Specialist

143 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
Have a Word document that I need to make into a template but
Have a Word document that I need to make into a template but want the header editable too - currently this is losing its formatting when placing into a header, whilst keeping it's edit-ability. Additi… read more
bbao
Freelance IT Consultant
74 satisfied customers
UranIT
IT Consultant, Network and System Admin
Associate Degree
465 satisfied customers
I mistakenling uninstall microsoft office. Can I recover it?
I mistakenling uninstall microsoft office. Can I recover it? … read more
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I am coinstantly getting calls that say they are from
I am coinstantly getting calls that say they are from Microsoft....I have others also trying to call about my computer. How do I know if it is really a call from Microsoft. They are always saying my c… read more
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
I have bought a new Windows 10 and have used my Office 365
I have bought a new Windows 10 and have used my Office 365 sub to install Office suite. I now get a message for me to fix my account in order to continue using the software. What do I need to do? … read more
Cody
Computer Science
1,466 satisfied customers
Uninstalled office 2011 for mac and then reinstalled from
uninstalled office 2011 for mac and then reinstalled from disk and outlook email not showing up … read more
Damian Costa
Owner
Computer Network System Engineer
40 satisfied customers
I bought a microsoft office package on 18th Nov. for \$99,
I bought a microsoft office package on 18th Nov. for \$99, and it hasn't been re cognised on my computer. How doI activate it? … read more
Michelle
Manager operations
Bachelor\u0027s Degree
1,273 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Cris
Desktop Support
Associate Degree
58 satisfied customers
I wish to go back to our previous email
I wish to go back to our previous email [*****@******.*** … read more
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
How to install previously purchased microsoft office online
how to install previously purchased microsoft office online to a new computer … read more
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I just started a requested update of MS Office for my
I just started a requested update of MS Office for my MacBook pro (2015). … read more
Jon
Bachelors Degree
390 satisfied customers
I Need help making changes to an existing spreadsheet.
I Need help making changes to an existing spreadsheet … read more
The-PC-Guy
Computer Manager
2,037 satisfied customers
I just installed Microsoft office and they are in the dock
Hello, I just installed Microsoft office and they are in the dock but none of them will open! … read more
Josh
It Support Specialist
Associate Degree
5,127 satisfied customers
How do i change my outgoing message in my teleohone. Acer
how do i change my outgoing message in my teleohone … read more
Bhavik Joshi
Computer Science and Engineering
586 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Bryan
IT Consultant
8,746 satisfied customers
I am unable to open a excel document it is saying it may
i am unable to open a excel document it is saying it may have been deleted, remnames or moved … read more
bbao
Freelance IT Consultant
74 satisfied customers
I have various solid lines going across the page that I
I have various solid lines going across the page that I can't delete...how can I get rid of them? … read more
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
I bought Microsoft Word for my at home computer, I would now
I bought Microsoft Word for my at home computer, I would now like to install it on my MacLaptop. What do I need to do? … read more
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
426 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less