IF function

AuDHDtism

New Member
Joined
Nov 29, 2023
Messages
32
Office Version
  1. 365
Platform
  1. MacOS
To start off I am wondering if the XL2BB app is user-friendly with Mac? Because I am having issues with the useability with an XL. I am not able to use the mini sheet or table only functions that are within the app on excel. As I do believe the individuals trying to help me with my formulas would be much better off being able to see what exactly I am looking for in order to take in the able to help me best. As for my equation, I am looking to check if H5 [which is a checkbox]=TRUE,I want to list a date including data from D5=DAY and Z2=Month. I want to have a weekday function in it so I can have it listed as close to the day but in weekday.

Formula I've used:
=IF(H5=TRUE,DATE(2024,Y2,IF(D5=WEEKDAY(E5,1),,"")),"")
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
i use xl2bb on a macbook, excel 365 , and i have not updated to the lates OSX yet, still on Ventura
works fine, although i did have issues back in 2017 when i statred on old macbook, but this new one from last year it installed and worked fine

note
You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone

i'll reply to question in new post
 
Upvote 0
D5=DAY and Z2=Month.
is month in numbers , 01.02 etc or just 1,2,3,4 - OR in text Jan,Feb,Mar etc

your formula has Y2 and E5
whats Y2

I want to have a weekday function in it so I can have it listed as close to the day but in weekday.
so if a saturday , then you want Friday or Monday
same question for a sunday
 
Upvote 0
So you basically want this input / output (building the input date from the cells as DATE(2024;$Z$2;$D$5)?

(Sorry my excel is in spanish, sá is saturday, do is sunday)

Input dateOutput date
04/11/2024 lu04/11/2024 lu
05/11/2024 ma05/11/2024 ma
06/11/2024 mi06/11/2024 mi
07/11/2024 ju07/11/2024 ju
08/11/2024 vi08/11/2024 vi
09/11/2024 sá08/11/2024 vi
10/11/2024 do11/11/2024 lu
11/11/2024 lu11/11/2024 lu
12/11/2024 ma12/11/2024 ma
13/11/2024 mi13/11/2024 mi


So you go back or forward in time to the closest working day? Or you want to go always into the future from you input date?
 
Upvote 0
This page is set up as the following:
B3:E3 is Other Chore Titile: under that is heading on top of columns (Column B is Area),( Column C is Chore), Column D is Desired day of month I'd like to complete the tasxk on), Column E is desired weekday I'd like the chore done on.
H4:S4= months in abbreviated form Jan, Feb, ZMar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov, Dec, all with check boxes H5:S35.
Then we have list of the months with the specific chores to be done from the checkboxes.
So, U2:W2 is January and I want to pull the data to make a date so that I have :
=IF(H5=TRUE,DATE(2024,U2,D5)
but i want this formula to include the desired weekday.
 
Upvote 0
I do not quite understand what you want. Can you maybe upload your file to google drive or similiar o pase the BB code here?
And add the list of days / desired days and the result you want in each case?
 
Upvote 0
Other ChoresActivate on which monthJanuary
AreaChoreDesired Due DateDesired Weekday#JanFebMarAprMayJunJulAugSepOctNovDecTarget Date
###​
11########################Mon, Jan 1###
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
0###########################
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,289
Members
452,902
Latest member
Knuddeluff

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