Adding and subtracting values

JD83

New Member
Joined
Nov 17, 2023
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I have two columns E3:E63 with dropdowns that I need calculated as a value of 1 when a dropdown selection is chosen. I need to cross reference with column F3:F63 and if it contains certain words I need that value to decrease by 0.5. I can get the countif formula to work by using =Countif(E3:E63, "new") but I don't know what to add on to the formula to subtract .5 from it if one of the names from F3:F63 are selected (chanin, mark, chris, tim, isaac). Any help would be greatly appreciated!
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I should also add I am using Google Sheets if that matters at all. Here is a sample of the sheet. I need it calculating the "new" section or "used" section as 1 and to subtract .5 if it's a split in Column F where "Chanin" is selected from the dropdown. If it says "no" split, then it can be the value of 1, but not in addition to.
 

Attachments

  • spreadsheethelp.png
    spreadsheethelp.png
    90.4 KB · Views: 4
Upvote 0
Welcome to the Board!

I should also add I am using Google Sheets if that matters at all.
Yes, it does matter. While there are many similarities, they are NOT the same programs -- there are many differences too!
As such, you should not post Google Sheets questions in the "Excel Questions" forum -- you should post them to the "General Discussion & Other Applications" forum, as per the description:

1700247753638.png


And then be sure to mention somewhere in your thread title or original post that this is a "Google Sheets" question.
I have moved this thread to that forum for you, so you should be all set now.
 
Upvote 0

Forum statistics

Threads
1,215,833
Messages
6,127,156
Members
449,366
Latest member
reidel

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