Nested IF statements

daleEH

New Member
Joined
Mar 21, 2023
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi There,

I've created this nested IF statement:

=if('Form Responses 1'!C3="1: Strong disagree",1,if('Form Responses 1'!C3="2: Disagree",2,if('Form Responses 1'!C3="3: Slight disagree",3,if('Form Responses 1'!C3="4: Slight agree",4,If('Form Responses 1'!C3="5: Agree",5,if('Form Responses 1'!C3="6: Strong agree",6,0))))))

What I want to do is get the formula to read a number that i enter into a blank cell that represents the row I want the formula to read from and adjust accordingly eg; 'Form Responses 1'!C3 adjusts to 'Form Responses 1'!C6 by entering 6 into a blank cell.

Is this possible?

daleEH
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Hi & welcome to MrExcel.
How about
Excel Formula:
=LEFT(INDEX('Form Responses 1'!C:C,B2),1)
Where B2 is where you type in the row number.
 
Upvote 0
Solution
Hi & welcome to MrExcel.
How about
Excel Formula:
=LEFT(INDEX('Form Responses 1'!C:C,B2),1)
Where B2 is where you type in the row number.
Thanks Fluff,

Brilliant, simple, less formula, achieves the task at hand and i'm a happy individual.

Great value and thanks
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,387
Messages
6,119,208
Members
448,874
Latest member
Lancelots

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