Reference value within formula instead of other cell?

SuperCoog

New Member
Joined
Sep 26, 2017
Messages
11
I am attempting to make a formula that can give me my desired result with one cell being used.

I have written a nested IF(AND) statement that gives me the result I need, which is great, but I refer to a particular cell each time I write a line. For example, I have a formula within cell A1 which gives me a number. My IF(AND) statement has a series of ranges that gives me a desired result based on the value of A1. Currently A1 is being referenced 7 times within the IF statement.

My current solution works, but it requires me to have two cells used. One for the value, another for the IF statement.

I know the way to brute force this would be to copy the formula in cell A1 each time it is referenced in my IF statement, but I was wondering if there is a way to reference that value within the same cell in a cleaner way.

Thank you for any help in advance.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
You can use the LET function for that if you have it, other than that you will have to use your existing methods. That said, a formula that repeats 7 times can usually be shortened somehow but without seeing both formulas in full there is not really much that I can suggest.
 
Upvote 0

Forum statistics

Threads
1,215,006
Messages
6,122,666
Members
449,091
Latest member
peppernaut

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