using the if statment

a2apple

New Member
Joined
Dec 7, 2016
Messages
3
i apprechiate all the asistance.

i am trying create an if statment that looks at the day of the week and calculates 2 diffrent rates wether its a weekend which is a sunday or the rest for the week

in colume h7 i tryed to use the following formula
=if(B7=søn;[G8*B4];[G8*B3])

thank you for all your help


<tbody>
</tbody>

-- removed inline image ---
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi, welcome to the board :)

Not sure what you posted, but it didn't come through too well lol

I think what you need is maybe this...
=G8*if($B7="søn";B4;B3)

This should work if you have actual weekday names in that cell. If you have real dates, formatted to just show the weekdays, look at using the WEEKDAY() function instead
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,844
Members
449,051
Latest member
excelquestion515

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