if statement

Lizzi

Board Regular
Joined
Sep 23, 2011
Messages
160
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Im using excel 2016, im trying to add i believe an if statement? into a cell but i dont know how to or if its the right statement to add

Col BP2:BP20446 contains revenue amounts (different amounts per row) i want column DS to have the result. so if BP2:BP20446 is <100K or between 100K & 250K or between 250K - 500K or >500K i want col DS to say <100K or >500K etc

does that make sense? hope so.... :)

any help greatly appreciated
Thanku
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Re: if statement help please

Is this what you are looking for?
Change ranges to match your data and copy down as needed.
Excel Workbook
AB
1Revenue
2 245,623100K - 250K
3 130,824100K - 250K
4 234,876100K - 250K
5 279,328250K - 500K
6 522,849>500K
7 75,000
8 429,135250K - 500K
9 535,125>500K
10 119,189100K - 250K
11 192,576100K - 250K
12 490,458250K - 500K
13 288,288250K - 500K
Sheet
 
Upvote 0
Re: if statement help please

Absolutely! thanku so very much :)

Is this what you are looking for?
Change ranges to match your data and copy down as needed.

AB
1Revenue
2 245,623 100K - 250K
3 130,824 100K - 250K
4 234,876 100K - 250K
5 279,328 250K - 500K
6 522,849 >500K
7 75,000 <100K
8 429,135 250K - 500K
9 535,125 >500K
10 119,189 100K - 250K
11 192,576 100K - 250K
12 490,458 250K - 500K
13 288,288 250K - 500K

<colgroup><col style="width:30px; "><col style="width:81px;"><col style="width:102px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B2=IF(A2<100000,"<100K",IF(A2<250000,"100K - 250K",IF(A2<500000,"250K - 500K",">500K")))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0
Re: if statement help please

You're welcome. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,217,078
Messages
6,134,435
Members
449,872
Latest member
Big Jake

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