Home

IF Function trouble

Eliana385
Occasional Visitor

Hello,

 

I am struggling with this formula in order to have the amount (column D) in the correct bucket (columns G, H, I, J, K, L, M or N) based on the number of days in column F.

I have tried with both IF(AND and IF(OR and cannot get the number in the correct cell.

Anybody can help?

2018-11-22_14-31-41.pngThanks a lot

1 Reply

you can use lookup here. however you need to get the top value of the range first.

 

=RIGHT(H$1;LEN(H$1)-SEARCH("-";H$1;1))*1

 

so you will get the top limit. Then:

 

=LOOKUP(RIGHT(H$1;LEN(H$1)-SEARCH("-";H$1;1))*1;A:A)

 

this formula will get the closest result lower than the upper limit if it can not find an exact value.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies