Using IFS formula to reference to different cells but fetch value coming out the same

Hari101213

New Member
Joined
Jun 4, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

I have an IFS formula that is suppose to reference to multiple cells and fetch the corresponding figure
Problem is even thou my reference cells are difference the text in some of them are the same, so the formula fetches me the wrong corresponding figure
Here is a numerical example
IF A1 =A3, text in A3 is Apple display me C6
IF A1 = A4 text in A4 is also Apple display me C7

Current formula displays C6 for both options since the text in both of them is the same Apple

I want the IFS formula to fetch based on cell reference instead of the text in the cell. Is this possible? If i change one of the text to Apple1 instead of just apple everything works find but i am trying not to change the text in the cells.

Any work around for this?

Thank you for your kind help
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
In the event of multiple matches, the first one found will be returned. If both are the same, how do you determine which one should be used?

I suspect that you need to use a combination of IF AND and OR, but your logic is not making a lot of sense.
 
Upvote 0
Hi thanks!

I will try using multiple conditions so that I just don't depend on that one cell with the same word. Will try later and see if it works
 
Upvote 0
The difference is the cell reference number I was hoping excel will ignore the text since my condition is A1=A3 and not A1="Apple" but it does not ignore the text
 
Upvote 0
A formula only looks at the value in the cell not the address of the cell. That will only work if you check each one individually with the highest priority first.

Using IFS, you could try swapping the order of the first 2 logical tests.
 
Upvote 0

Forum statistics

Threads
1,214,869
Messages
6,122,012
Members
449,060
Latest member
LinusJE

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