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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
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,223,989
Messages
6,175,812
Members
452,671
Latest member
jowalker82

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