HOW TO MAKE IF STATMENTS INTO ARRAYS

GoonSqd

New Member
Joined
Jan 30, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
hey there, im trying to change a co-workers if statements into an array if possible
im trying to validate that If Colum AA is 1 or greater then to check if Colum AQ is between 7.3 and 8.3 and if its anything else to check Colum y and if there is a date then colum AQ should be zero, if there isnt then check colum x and make that the value for colum AQ
 

Attachments

  • image001 (1).png
    image001 (1).png
    176.1 KB · Views: 7
Okay I'm starting to understand. Please fill in the questions. In column Y what are you supposed to do with a date? Is this a date the price increase is to take effect or end? How do you want that reflected in the calculation?

Book1
ABCDEF
3
4ConditionsIncrease Date?Price Cap?Result
5Col AACol AQCol YCol XIn What cell?
61> 7.3 & < 8.3End of Conditions calculate nowWhat value to see?
71NOT(> 7.3 & < 8.3)Has a date?End of Conditions calculate nowWhat value to see?
81NOT(> 7.3 & < 8.3)Has a date?Cap amountEnd of Conditions calculate nowWhat value to see?
90End of Conditions calculate nowWhat value to see?
10
Sheet1
my coworker ended up coming up with this Idk if this will work best of if there's a better solution
 

Attachments

  • SnipImage (1).JPG
    SnipImage (1).JPG
    81.7 KB · Views: 6
Upvote 0

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
It looks like he was provided with more information than what was given here.

I'm happy he got it working for you.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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