Formula to respond with "income" or "expense"

MNexcel

New Member
Joined
Jul 28, 2019
Messages
18
Office Version
  1. 2021
Platform
  1. Windows
Hello!

I am trying to use a formula in google sheets that is dependent on what is in the debit column, and what is in the credit column, and essentially if any value greater than 0 is in debit, I want it to respond with "Expense", if anything in credit greater than 0, "Income".

Here's a screenshot of the sheet I am using, and below is the current formula I am using but it's only reading off of the first formula written.

1735586393792.png


=IF(E16>0,"Expense", IF(F16>0,"Income"))
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,225,280
Messages
6,184,033
Members
453,206
Latest member
Atko

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