Range with If/Then Options

CgG

New Member
Joined
Feb 8, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
New to using a forum, excited to see what I learn. Trying to build a formula based off of what I think is a range with an if then function. Any ideas on how to convert this concept into a working formula?

"If B11 is equal to or between S13 & T13(-1) then cell B12 equals S21 if not blank if blank B12 equals Y24, If B11 is equal to or between T13 & U13(-1) then cell B12 equals T21 if not blank if blank B12 equals Z24, If B11 is equal to or between U13 & V13(-1) then cell B12 equals U21 if not blank if blank B12 equals AA24, If B11 is equal to or greater then V13 then cell B12 equals V21 if not blank if blank B12 equals AB24."

If it helps B11 is a Date, S13/T13 is a Date Range and S21 & Y24 is Pricing....and so on.

thanks
 

Attachments

  • CgG Excel Question.PNG
    CgG Excel Question.PNG
    36 KB · Views: 10

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi, try this formula for B12
=LET(i,MATCH(B$11,$S$13:$V$13,1),r,INDEX($S$21:$V$21,i),IFERROR(IF(r="",INDEX($Y$24:$AB$24,i),r),""))

CgG_ExcelQuestion.xlsx
 
Upvote 1

Forum statistics

Threads
1,215,078
Messages
6,122,997
Members
449,093
Latest member
masterms

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